module Roda::RodaPlugins::FormeErubiCaptureBlock::InstanceMethods

  1. lib/roda/plugins/forme_erubi_capture_block.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_block.rb
27 def _forme_form(obj, attr, opts, &block)
28   if block && opts[:emit] != false
29     instance_variable_get(render_opts[:template_opts][:outvar]).capture{super}
30   else
31     super
32   end
33 end