Method: Roject::Project#make

Defined in:
lib/project.rb

#make(name, args) ⇒ Object

Runs the maker of the given name with the given args

Parameter: name - the name of the maker to run Parameter: args - the args to pass to the file



112
113
114
115
116
117
118
# File 'lib/project.rb', line 112

def make(name, args)
  if @makers.has_key? name
    @makers[name].make self, args
  else
    raise RuntimeError, "Undefied maker #{name}"
  end
end