Module: Roda::RodaPlugins::Papercraft::InstanceMethods
- Defined in:
- lib/roda/plugins/papercraft.rb
Instance Method Summary collapse
Instance Method Details
#render(&block) ⇒ Object
26 27 28 |
# File 'lib/roda/plugins/papercraft.rb', line 26 def render(*, **, &block) block.render(*, **) end |
#template(name) ⇒ Object
30 31 32 |
# File 'lib/roda/plugins/papercraft.rb', line 30 def template(name) (@templates ||= {})[name] ||= load_template(name) end |