Class: RansackMemoryGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- RansackMemoryGenerator
- Defined in:
- lib/generators/ransack_memory_generator.rb
Overview
Rails3 generator invoked with ‘rails generate ransack_memory’
Instance Method Summary collapse
Instance Method Details
#copy_initializer ⇒ Object
6 7 8 9 |
# File 'lib/generators/ransack_memory_generator.rb', line 6 def copy_initializer copy_file 'ransack_memory_template.rb', 'config/initializers/ransack_memory.rb' end |