Sha256: a9ee76da9c7e309ce8c5f4f25c0bf21c3913b77df9f692d69a948ebb5b2207ab
Contents?: true
Size: 605 Bytes
Versions: 2
Compression:
Stored size: 605 Bytes
Contents
require_relative '../base_generator' module Howitzer # This class responsible for project root files generation class RootGenerator < BaseGenerator def manifest { files: [ { source: '.gitignore', destination: '.gitignore' }, { source: '.rubocop.yml', destination: '.rubocop.yml' }, { source: 'Rakefile', destination: 'Rakefile' } ], templates: [ { source: 'Gemfile.erb', destination: 'Gemfile' } ] } end protected def banner <<-MSG * Root files generation ... MSG end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
howitzer-2.1.1 | generators/root/root_generator.rb |
howitzer-2.1.0 | generators/root/root_generator.rb |