Sha256: b58f0fb72244dcd087808790c7ff15da356b660f50f45761f9fb67a8e0badcdc

Contents?: true

Size: 311 Bytes

Versions: 1

Compression:

Stored size: 311 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

1 entries across 1 versions & 1 rubygems

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