lib/pkgforge.rb
def load_from_file(params = {})
      file = params[:file] || DEFAULT_FILE
      forge = Forge.new(params)
      dsl = DSL::Forge.new(forge)
      dsl.instance_eval(File.read(file), file)
      forge
    end
##
# Insert a helper .new() method for creating a Forge object
Insert a helper .new() method for creating a Forge object
Insert a helper . new () method for creating a Forge object
def load_from_file(params = {})
      file = params[:file] || DEFAULT_FILE
      forge = Forge.new(params)
      dsl = DSL::Forge.new(forge)
      dsl.instance_eval(File.read(file), file)
      forge
    end
def load_from_file ( params = { } ) file = params [ :file ] || DEFAULT_FILE forge = Forge . new ( params ) dsl = DSL :: Forge . new ( forge ) dsl . instance_eval ( File . read ( file ) , file ) forge end
Insert a helper .new() method for creating a Forge object
Insert a helper . new () method for creating a Forge object
params