Sha256: bd15c0fcdbcf50b4d6fb374dcd61514908e87f0cc13415944f71e48bd1a64712

Contents?: true

Size: 277 Bytes

Versions: 5

Compression:

Stored size: 277 Bytes

Contents

module Groupify
  module Mongoid
    class InitializerGenerator < Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)

      def copy_initializer
        copy_file "initializer.rb", "config/initializers/groupify.rb"
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
groupify-0.9.0 lib/generators/groupify/mongoid/initializer/initializer_generator.rb
groupify-0.8.0 lib/generators/groupify/mongoid/initializer/initializer_generator.rb
groupify-0.7.2 lib/generators/groupify/mongoid/initializer/initializer_generator.rb
groupify-0.7.1 lib/generators/groupify/mongoid/initializer/initializer_generator.rb
groupify-0.7.0 lib/generators/groupify/mongoid/initializer/initializer_generator.rb