Method: Roger::Generators::GeneratorGenerator#create_lib_file
- Defined in:
- lib/roger/generators/generator.rb
#create_lib_file ⇒ Object
13 14 15 16 17 |
# File 'lib/roger/generators/generator.rb', line 13 def create_lib_file destination = "#{path}/#{name}_generator.rb" template("templates/generator.tt", destination) say "Add `require #{destination}` to your mockup file and run mockup generate #{name}." end |