Sha256: f4ba3ffb7641e59986389fb96c76092fed0657fa72c0e9ad5050535545a324d7
Contents?: true
Size: 262 Bytes
Versions: 2
Compression:
Stored size: 262 Bytes
Contents
require "thor" module GeneratorBase module Template def templater(file) template("templates/#{file}.tt", "#{file_name}/#{file}") end def make_dir(dir) directory("templates/#{dir}", "#{file_name}/#{dir}") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
centuria-0.2.5 | lib/centuria/generators/gene_base.rb |
centuria-0.2.4 | lib/centuria/generators/gene_base.rb |