Sha256: 4b7357be40c736510837db5cfbfa4efd5ba89099ed9d83e12098987c791988f4

Contents?: true

Size: 261 Bytes

Versions: 6

Compression:

Stored size: 261 Bytes

Contents

require 'rails/generators'

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

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

    def create_initializer
      copy_file 'pagers.rb', 'config/initializers/pagers.rb'
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pagers-3.1.5 lib/generators/pagers/install_generator.rb
pagers-3.1.4 lib/generators/pagers/install_generator.rb
pagers-3.1.3 lib/generators/pagers/install_generator.rb
pagers-3.1.2 lib/generators/pagers/install_generator.rb
pagers-3.1.1 lib/generators/pagers/install_generator.rb
pagers-3.1.0 lib/generators/pagers/install_generator.rb