Method: Roject::Project#file

Defined in:
lib/project.rb

#file(name, hash) ⇒ Object

Creates a file maker with the given name and hash

Parameter: name - the name of the maker Parameter: hash - the hash arguments of the maker



124
125
126
127
128
# File 'lib/project.rb', line 124

def file(name, hash)
	unless @makers.has_key? name
		@makers[name] = FileMaker.new self, hash
	end
end