Method: Rodbot::Generator#display
- Defined in:
- lib/rodbot/generator.rb
permalink #display ⇒ Object
Print the interpolated template to STDOUT
40 41 42 43 44 45 |
# File 'lib/rodbot/generator.rb', line 40 def display puts each_template_path do |template_path, target_path, content| puts "### #{target_path} ###", (content || template_path.read), nil end end |