Sha256: 828c38606f02f6913372e95a179fba0cc9986f25a8cdf413a57af6f2ae622c44

Contents?: true

Size: 268 Bytes

Versions: 4

Compression:

Stored size: 268 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

4 entries across 4 versions & 1 rubygems

Version Path
centuria-0.2.3 lib/centuria/generator/gene_base.rb
centuria-0.2.2 lib/centuria/generator/gene_base.rb
centuria-0.2.1 lib/centuria/generator/gene_base.rb
centuria-0.2.0 lib/centuria/generator/gene_base.rb