Sha256: c54629291d684f465cd599a049c7be259473668972d8c74c2a6671218d476f6f

Contents?: true

Size: 282 Bytes

Versions: 5

Compression:

Stored size: 282 Bytes

Contents

module Groupify
  module ActiveRecord
    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/active_record/initializer/initializer_generator.rb
groupify-0.8.0 lib/generators/groupify/active_record/initializer/initializer_generator.rb
groupify-0.7.2 lib/generators/groupify/active_record/initializer/initializer_generator.rb
groupify-0.7.1 lib/generators/groupify/active_record/initializer/initializer_generator.rb
groupify-0.7.0 lib/generators/groupify/active_record/initializer/initializer_generator.rb