Sha256: aa9369003848d07ee64338cb2975c44c2eb4ae95136d99ea7276afe3c1eee8bb

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

require 'rails/generators'

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

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

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

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pagers-4.0.0.0 lib/generators/pagers/install/install_generator.rb