Sha256: 047e4b0307238c36866d4e9955433d233881828015d69e8c6c29a9d067627aaf

Contents?: true

Size: 301 Bytes

Versions: 9

Compression:

Stored size: 301 Bytes

Contents

require 'rails/generators'

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

    desc 'Enjoy::CMS Config generator'
    def install
      template 'enjoy_cms.erb', "config/initializers/enjoy_cms.rb"
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
enjoy_cms-0.3.7.4 lib/generators/enjoy/config/install_generator.rb
enjoy_cms-0.3.7.3 lib/generators/enjoy/config/install_generator.rb
enjoy_cms-0.3.7.2 lib/generators/enjoy/config/install_generator.rb
enjoy_cms-0.3.7.1 lib/generators/enjoy/config/install_generator.rb
enjoy_cms-0.3.7 lib/generators/enjoy/config/install_generator.rb
enjoy_cms-0.3.6.2 lib/generators/enjoy/config/install_generator.rb
enjoy_cms-0.3.6.1 lib/generators/enjoy/config/install_generator.rb
enjoy_cms-0.3.6 lib/generators/enjoy/config/install_generator.rb
enjoy_cms-0.3.5 lib/generators/enjoy/config/install_generator.rb