Sha256: 05191f4e25762fb51a0d3ac9a211ac0178af169e3daea23b15397df35c989efb

Contents?: true

Size: 412 Bytes

Versions: 5

Compression:

Stored size: 412 Bytes

Contents

class GovKitGenerator < Rails::Generator::Base

  def initialize(*runtime_args)
    super
  end

  def manifest
    record do |m|
      m.directory File.join('config', 'initializers')
      m.template 'govkit.rb',   File.join('config', 'initializers', 'govkit.rb')
    end
  end

  protected

  def banner
    %{Usage: #{$0} #{spec.name}\nCopies a config initializer to config/initializers/govkit.rb}
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
govkit-0.3.1 generators/govkit/govkit_generator.rb
govkit-0.3.0 generators/govkit/govkit_generator.rb
govkit-0.2.0 generators/govkit/govkit_generator.rb
govkit-0.1.0 generators/govkit/govkit_generator.rb
govkit-0.0.2 generators/govkit/govkit_generator.rb