Sha256: 59757f4c91efc3d0673cd5383afbfecf280d11501b8a2a49058d78f3601a17a7

Contents?: true

Size: 341 Bytes

Versions: 4

Compression:

Stored size: 341 Bytes

Contents

module Querifier
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      source_root File.expand_path('../templates', __FILE__)
      desc 'Creates Querifier initializer for your application'

      def copy_initializer
        template 'querifier.rb', 'config/initializers/querifier.rb'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
querifier-0.2.3 lib/generators/querifier/install_generator.rb
querifier-0.2.2 lib/generators/querifier/install_generator.rb
querifier-0.1.1 lib/generators/querifier/install_generator.rb
querifier-0.1.0 lib/generators/querifier/install_generator.rb