ok
Direktori : /opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/radio_group-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a sequence of radio button Input elements, as a String. - !ruby/struct:SM::Flow::P body: "This works the same as #checkbox_group(). However, it is not valid to have more than one radiobutton in a group checked." - !ruby/struct:SM::Flow::VERB body: " radio_group("name", "foo", "bar", "baz")\n # <INPUT TYPE="radio" NAME="name" VALUE="foo">foo\n # <INPUT TYPE="radio" NAME="name" VALUE="bar">bar\n # <INPUT TYPE="radio" NAME="name" VALUE="baz">baz\n\n radio_group("name", ["foo"], ["bar", true], "baz")\n # <INPUT TYPE="radio" NAME="name" VALUE="foo">foo\n # <INPUT TYPE="radio" CHECKED NAME="name" VALUE="bar">bar\n # <INPUT TYPE="radio" NAME="name" VALUE="baz">baz\n\n radio_group("name", ["1", "Foo"], ["2", "Bar", true], "Baz")\n # <INPUT TYPE="radio" NAME="name" VALUE="1">Foo\n # <INPUT TYPE="radio" CHECKED NAME="name" VALUE="2">Bar\n # <INPUT TYPE="radio" NAME="name" VALUE="Baz">Baz\n\n radio_group("NAME" => "name",\n "VALUES" => ["foo", "bar", "baz"])\n\n radio_group("NAME" => "name",\n "VALUES" => [["foo"], ["bar", true], "baz"])\n\n radio_group("NAME" => "name",\n "VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"])\n" full_name: CGI::HtmlExtension#radio_group is_singleton: false name: radio_group params: (name = "", *values) visibility: public