Class: ActionView::Helpers::Tags::CollectionRadioButtons::RadioButtonBuilder

Inherits:
Builder
  • Object
show all
Defined in:
actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#radio_button(extra_html_options = {}) ⇒ Object



10
11
12
13
# File 'actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb', line 10

def radio_button(extra_html_options={})
  html_options = extra_html_options.merge(@input_html_options)
  @template_object.radio_button(@object_name, @method_name, @value, html_options)
end