Public Instance methods
inject_erb(value)
Inject into the template output for the template currently being rendered.
[show source]
# File lib/roda/plugins/inject_erb.rb 25 def inject_erb(value) 26 instance_variable_get(render_opts[:template_opts][:outvar]) << value.to_s 27 end