Sha256: 18da2b5951cb6ee2dc7906b611acdde4d57aa363f8fe687268777574d721ca6f

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

module Commons
  module Generators
    class SettingsGenerator < Rails::Generators::Base

      desc 'Generate initializer with settings'
      source_root File.expand_path("../templates", __FILE__)

      def copy_initializer_file
        copy_file "_read_settings.rb", "config/initializers/_read_settings.rb"
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aifactory-commons-0.1.1 lib/aifactory/generators/commons/settings_generator.rb
aifactory-commons-0.1.0 lib/aifactory/generators/commons/settings_generator.rb