Class: Wee::FormDecoration

Inherits:
WrapperDecoration show all
Defined in:
lib/wee/decoration.rb

Overview

class WrapperDecoration

Instance Attribute Summary

Attributes inherited from Decoration

#next

Instance Method Summary collapse

Methods inherited from WrapperDecoration

#render_inner

Methods inherited from Decoration

#global?, #process_callbacks, #render_on, #render_presenter_on, #state

Methods inherited from Presenter

#process_callbacks, #render_on, #renderer_class, #state

Instance Method Details

#render(r) ⇒ Object



222
223
224
# File 'lib/wee/decoration.rb', line 222

def render(r)
  r.form { render_inner(r) }
end