Sha256: 0532f499af891584bf83e8cc43beafe713ffd395745e7607d9303c10d8980565

Contents?: true

Size: 313 Bytes

Versions: 3

Compression:

Stored size: 313 Bytes

Contents

require 'rails/generators'

module Indexes
  module Generators
    class InstallGenerator < ::Rails::Generators::Base

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

      def create_initializer_file
        copy_file 'initializer.rb', 'config/initializers/indexes.rb'
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
indexes-4.0.0.2 lib/generators/indexes/install/install_generator.rb
indexes-4.0.0.1 lib/generators/indexes/install/install_generator.rb
indexes-4.0.0.0 lib/generators/indexes/install/install_generator.rb