Sha256: 9861fbde922d985f676d1437c2b4ddb96567e793366ad2fa3dac41a123da3443

Contents?: true

Size: 484 Bytes

Versions: 2

Compression:

Stored size: 484 Bytes

Contents

require 'rbconfig'

class RootGenerator < RubiGen::Base
  def initialize(runtime_args, runtime_options = {})
    super
    @destination_root = File.expand_path('')
  end

  def manifest
    record do |m|
      m.directory ''
      m.template '.gitignore', '.gitignore'
      m.template 'Gemfile', 'Gemfile'
      m.template 'Rakefile', 'Rakefile'
      m.template 'boot.rb', 'boot.rb'
    end
  end

  protected
  def banner
    <<-EOF
    Creates root config files.
    EOF
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
howitzer-0.0.3 generators/root/root_generator.rb
howitzer-0.0.1 generators/root/root_generator.rb