Class: LazyValueGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/lazy_value/lazy_value_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_initializerObject



3
4
5
# File 'lib/generators/lazy_value/lazy_value_generator.rb', line 3

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