Sha256: 8565590c30957013efd98b38accf1db94f443c6ba1b05891f29eb5c87928d37f

Contents?: true

Size: 344 Bytes

Versions: 8

Compression:

Stored size: 344 Bytes

Contents

require 'rails/generators'

module Hancock::Cms
  class ApplicationGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    argument :app_name,   type: :string

    desc 'Hancock CMS application.rb generator'
    def install
      template "application.erb", "config/application.rb"
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hancock_cms-1.0.1 lib/generators/hancock/cms/application_generator.rb
hancock_cms-2.0.0.2 lib/generators/hancock/cms/application_generator.rb
hancock_cms-1.0.0.4 lib/generators/hancock/cms/application_generator.rb
hancock_cms-1.0.0.3 lib/generators/hancock/cms/application_generator.rb
hancock_cms-2.0.0.1 lib/generators/hancock/cms/application_generator.rb
hancock_cms-1.0.0.2 lib/generators/hancock/cms/application_generator.rb
hancock_cms-2.0.0 lib/generators/hancock/cms/application_generator.rb
hancock_cms-1.0.0 lib/generators/hancock/cms/application_generator.rb