Sha256: 01cdc512804261effa563d937280672500dee57b66b776cd36b278792e0e88da

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

module Cogy
  module Generators
    class ConfigGenerator < Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)

      desc <<DESC
Description:
    Copies Cogy configuration file to your application's initializer directory.
DESC
      def copy_config_file
        template 'cogy_config.rb', 'config/initializers/cogy.rb'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cogy-0.1.0 lib/generators/cogy/config_generator.rb