Sha256: d22f8f2b32c9434c44e65427b0b48df43045ec39c976dc8d1546ad6c97e30686

Contents?: true

Size: 316 Bytes

Versions: 12

Compression:

Stored size: 316 Bytes

Contents

module Iam
  module Generators
    class InitializerGenerator < ::Rails::Generators::Base

      source_root File.expand_path("../../templates", __FILE__)

      desc 'Creates a sample Iam initializer.'
      def copy_initializer
        copy_file 'iam.rb', 'config/initializers/iam.rb'
      end

    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
iam-0.1.12 lib/generators/iam/initializer_generator.rb
iam-0.1.11 lib/generators/iam/initializer_generator.rb
iam-0.1.10 lib/generators/iam/initializer_generator.rb
iam-0.1.9 lib/generators/iam/initializer_generator.rb
iam-0.1.8 lib/generators/iam/initializer_generator.rb
iam-0.1.7 lib/generators/iam/initializer_generator.rb
iam-0.1.6 lib/generators/iam/initializer_generator.rb
iam-0.1.5 lib/generators/iam/initializer_generator.rb
iam-0.1.4 lib/generators/iam/initializer_generator.rb
iam-0.1.3 lib/generators/iam/initializer_generator.rb
iam-0.1.2 lib/generators/iam/initializer_generator.rb
iam-0.1.1 lib/generators/iam/initializer_generator.rb