Sha256: 082af880c93760fa1d484d579cc57c416cb3934273612345f9648071dc226de9

Contents?: true

Size: 491 Bytes

Versions: 3

Compression:

Stored size: 491 Bytes

Contents

require_relative '../base_generator'

module Howitzer
  class RootGenerator < BaseGenerator
    def manifest
      { files:
        [
          { source: '.gitignore', destination: '.gitignore'},
          { source: 'Gemfile', destination: 'Gemfile'},
          { source: 'Rakefile', destination: 'Rakefile'},
          { source: 'boot.rb', destination: 'boot.rb'}
        ]
      }
    end

    protected
    def banner
      <<-EOF
  * Root files generation ...
      EOF
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
howitzer-1.1.1 generators/root/root_generator.rb
howitzer-1.1.0 generators/root/root_generator.rb
howitzer-1.0.2 generators/root/root_generator.rb