Method: Muwu::RenderConcat#render
- Defined in:
- lib/muwu/render_concat/render_concat.rb
#render ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/muwu/render_concat/render_concat.rb', line 16 def render destination = File.join(@output_path, @output_filename) puts "- Writing `#{@output_filename}`" File.open(destination, 'w') do |f| @manifest.text_blocks.each do |text| text.sections.each do |topic| render_topic(f, topic) end end end end |