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