lib/cli/mastermind/configuration.rb
# Loads a masterplan using the DSL, if it exists and hasn't been loaded already
#
# @param filename [String] the path to the masterplan to load
# @return [Void]
Loads a masterplan using the DSL, if it exists and hasn't been loaded already
Loads a masterplan using the DSL if it exists and hasn ' t been loaded already
def load_masterplan filename
        if File.exists? filename and !@loaded_masterplans.include? filename
          @loaded_masterplans << filename
          DSL.new(self, filename)
        end
      end
def load_masterplan filename if File . exists? filename and ! @loaded_masterplans . include? filename @loaded_masterplans << filename DSL . new ( self , filename ) end end
Loads a masterplan using the DSL, if it exists and hasn't been loaded already
Loads a masterplan using the DSL if it exists and hasn ' t been loaded already
None
Void
filename
the path to the masterplan to load
the path to the masterplan to load