Module: YuiOnRails::RadioButtons

Defined in:
lib/yui-on-rails/radio_buttons.rb

Defined Under Namespace

Classes: RadioButtonsRenderer

Instance Method Summary collapse

Instance Method Details

#radio_buttons_for(name, *options, &block) ⇒ Object



3
4
5
6
7
# File 'lib/yui-on-rails/radio_buttons.rb', line 3

def radio_buttons_for(name,*options, &block)
  radio_buttons = YuiOnRails::RadioButtons::RadioButtonsRenderer.new(name,*options, &block)
  radios_html = radio_buttons.render
  return concat(radios_html)
end