Class: Wee::FormDecoration

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

Overview

class StyleDecoration

Instance Attribute Summary

Attributes inherited from Decoration

#next

Instance Method Summary collapse

Methods inherited from WrapperDecoration

#render_inner

Methods inherited from Decoration

#process_callbacks, #render!, #render_presenter!, #state

Methods inherited from Presenter

#process_callbacks, #render!, #renderer_class, #state

Instance Method Details

#global?Boolean

Returns:

  • (Boolean)


219
# File 'lib/wee/decoration.rb', line 219

def global?() true end

#render(r) ⇒ Object



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

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