Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/textarea-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params: ""
comment:
- !ruby/struct:SM::Flow::P
body: Generate a TextArea element, as a String.
- !ruby/struct:SM::Flow::P
body: <tt>name</tt> is the name of the textarea. <tt>cols</tt> is the number of columns and <tt>rows</tt> is the number of rows in the display.
- !ruby/struct:SM::Flow::P
body: Alternatively, the attributes can be specified as a hash.
- !ruby/struct:SM::Flow::P
body: The body is provided by the passed-in no-argument block
- !ruby/struct:SM::Flow::VERB
body: " textarea("name")\n # = textarea("NAME" => "name", "COLS" => 70, "ROWS" => 10)\n\n textarea("name", 40, 5)\n # = textarea("NAME" => "name", "COLS" => 40, "ROWS" => 5)\n"
full_name: CGI::HtmlExtension#textarea
is_singleton: false
name: textarea
params: (name = "", cols = 70, rows = 10) {|| ...}
visibility: public