Sha256: 121d9e7206ca9195e086b955e4df4c0b4aeeff77838ab943e77081c33f6f9c03

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

module Alveole
  module Generators
    # rails g alveole:config
    class ConfigGenerator < Rails::Generators::Base # :nodoc:
      source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))

      desc <<~DESC
        Description:
        Copies Alveole configuration file to your application's initializer directory.
      DESC

      def copy_config_file
        template 'alveole_config.rb', 'config/initializers/alveole_config.rb'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alveole-0.0.1 lib/generators/alveole/config_generator.rb