Your IP : 3.144.242.20


Current Path : /opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/
Upload File :
Current File : //opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/radio_button-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Generates a radio-button Input element.
- !ruby/struct:SM::Flow::P 
  body: <tt>name</tt> is the name of the input field. <tt>value</tt> is the value of the field if checked. <tt>checked</tt> specifies whether the field starts off checked.
- !ruby/struct:SM::Flow::P 
  body: Alternatively, the attributes can be specified as a hash.
- !ruby/struct:SM::Flow::VERB 
  body: "  radio_button(&quot;name&quot;, &quot;value&quot;)\n    # &lt;INPUT TYPE=&quot;radio&quot; NAME=&quot;name&quot; VALUE=&quot;value&quot;&gt;\n\n  radio_button(&quot;name&quot;, &quot;value&quot;, true)\n    # &lt;INPUT TYPE=&quot;radio&quot; NAME=&quot;name&quot; VALUE=&quot;value&quot; CHECKED&gt;\n\n  radio_button(&quot;NAME&quot; =&gt; &quot;name&quot;, &quot;VALUE&quot; =&gt; &quot;value&quot;, &quot;ID&quot; =&gt; &quot;foo&quot;)\n    # &lt;INPUT TYPE=&quot;radio&quot; NAME=&quot;name&quot; VALUE=&quot;value&quot; ID=&quot;foo&quot;&gt;\n"
full_name: CGI::HtmlExtension#radio_button
is_singleton: false
name: radio_button
params: (name = "", value = nil, checked = nil)
visibility: public

?>