Sha256: 7112f7582f5ffc59cb1faf8fa2a38c2c6d0671ef0492caa9a3fe12d58fba018d

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 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
      Creates root config files.
      EOF
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
howitzer-1.0.1 generators/root/root_generator.rb