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

Version Path
emergent-core-0.1.0 rails_generators/emergent_cms/emergent_cms_generator.rb
emergent-core-0.1.01 rails_generators/emergent_cms/emergent_cms_generator.rb
emergent-core-0.1.02 rails_generators/emergent_cms/emergent_cms_generator.rb