Sha256: 05d29004b28f8198f1e4f5396ccc81b26f033da6ab026af1ab7b1b6f870b4b2e
Contents?: true
Size: 418 Bytes
Versions: 3
Compression:
Stored size: 418 Bytes
Contents
class EmergentCmsGenerator < Rails::Generator::NamedBase def manifest record do |m| # Ensure appropriate folder(s) exists m.directory 'some_folder' # Create stubs # m.template "template.rb", "some_file_after_erb.rb" # m.file "file", "some_file_copied" end end protected def banner <<-EOS Creates a ... USAGE: #{$0} #{spec.name} name EOS end end
Version data entries
3 entries across 3 versions & 1 rubygems