module GeneratorBase::Template
Public Instance Methods
make_dir(dir)
click to toggle source
# File lib/centuria/generators/gene_base.rb, line 11 def make_dir(dir) directory("templates/#{dir}", "#{file_name}/#{dir}") end
templater(file)
click to toggle source
# File lib/centuria/generators/gene_base.rb, line 7 def templater(file) template("templates/#{file}.tt", "#{file_name}/#{file}") end