Sha256: fa1e501ae1783fdd21ce2887f9eab8f6f5c04eeed1c8b7c6b419ae5b05bfb15d
Contents?: true
Size: 309 Bytes
Versions: 2
Compression:
Stored size: 309 Bytes
Contents
require 'rails/generators' module Pagers module Generators 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 end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pagers-5.1.0 | lib/generators/pagers/install/install_generator.rb |
pagers-4.0.0.1 | lib/generators/pagers/install/install_generator.rb |