U:RDoc::AnyMethod[iI"popup_menu:EFI""CGI::HtmlExtension#popup_menu;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"+Generate a Select element as a string.;To:RDoc::Markup::BlankLine o;
; [
I"K+name+ is the name of the element. The +values+ are the options that ;TI"Jcan be selected from the Select menu. Each value can be a String or ;TI"Ga one, two, or three-element Array. If a String or a one-element ;TI"MArray, this is both the value of that option and the text displayed for ;TI"Qit. If a three-element Array, the elements are the option value, displayed ;TI"Rtext, and a boolean value specifying whether this option starts as selected. ;TI"QThe two-element version omits either the option value (defaults to the same ;TI"Pas the display text) or the boolean selected specifier (defaults to false).;T@o;
; [I"JThe attributes and options can also be specified as a hash. In this ;TI"Kcase, options are specified as an array of values as described above, ;TI"#with the hash key of "VALUES".;T@o:RDoc::Markup::Verbatim; [!I"-popup_menu("name", "foo", "bar", "baz")
;TI" #
;TI"
;TI"7popup_menu("name", ["foo"], ["bar", true], "baz")
;TI" #
;TI"
;TI"Apopup_menu("name", ["1", "Foo"], ["2", "Bar", true], "Baz")
;TI" #
;TI"
;TI"Cpopup_menu("NAME" => "name", "SIZE" => 2, "MULTIPLE" => true,
;TI"H "VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"])
;TI"0 # ;T:@format0:
@fileI"lib/cgi/html.rb;T:0@omit_headings_from_table_of_contents_below000[[I"scrolling_list;Fo;; [ ;@<;0I"(name = "", *values);T@