module Roda::RodaPlugins::FormeErubiCapture::InstanceMethods

  1. lib/roda/plugins/forme_erubi_capture.rb

Methods

Public Instance

  1. _forme_form

Public Instance methods

_forme_form(obj, attr, opts, &block)
[show source]
   # File lib/roda/plugins/forme_erubi_capture.rb
36 def _forme_form(obj, attr, opts, &block)
37   if block && opts[:emit] != false
38     capture_erb do
39       super
40       instance_variable_get(render_opts[:template_opts][:outvar])
41     end
42   else
43     super
44   end
45 end