edge badge
Namespace
Methods
R
Included Modules
Instance Public methods
render(&block)
# File actionpack/lib/action_view/helpers/tags/collection_radio_buttons.rb, line 16
def render(&block)
  render_collection do |item, value, text, default_html_options|
    builder = instantiate_builder(RadioButtonBuilder, item, value, text, default_html_options)

    if block_given?
      @template_object.capture(builder, &block)
    else
      render_component(builder)
    end
  end
end