method
render
rails latest stable - Class:
ActionView::Helpers::Tags::RadioButton
render()public
No documentation available.
# File actionview/lib/action_view/helpers/tags/radio_button.rb, line 16
def render
options = @options.stringify_keys
options["type"] = "radio"
options["value"] = @tag_value
options["checked"] = "checked" if input_checked?(options)
add_default_name_and_id_for_value(@tag_value, options)
tag("input", options)
end