Sha256: 4aa6525ae30e8dc767ba6386a8ed46f3bb8b1eb3041e6754dd3742f4c7201947

Contents?: true

Size: 340 Bytes

Versions: 8

Compression:

Stored size: 340 Bytes

Contents

require 'rails/generators'

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

    argument :app_name,   type: :string

    desc 'Enjoy 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
enjoy_cms-0.4.1 lib/generators/enjoy/cms/application_generator.rb
enjoy_cms-0.4.0.5 lib/generators/enjoy/cms/application_generator.rb
enjoy_cms-0.4.0.4 lib/generators/enjoy/cms/application_generator.rb
enjoy_cms-0.4.0.3 lib/generators/enjoy/cms/application_generator.rb
enjoy_cms-0.4.0.2 lib/generators/enjoy/cms/application_generator.rb
enjoy_cms-0.4.0.1 lib/generators/enjoy/cms/application_generator.rb
enjoy_cms-0.4.0 lib/generators/enjoy/cms/application_generator.rb
enjoy_cms-0.4.0.beta3 lib/generators/enjoy/cms/application_generator.rb