Sha256: 6613c36332992f21e6b2c21dad8f85efbdd91e4be37faa7972fd0c78da9d480c

Contents?: true

Size: 311 Bytes

Versions: 1

Compression:

Stored size: 311 Bytes

Contents

require 'rails/generators'

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

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

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

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
indices-0.0.1 lib/generators/indices/install_generator.rb