summaryrefslogtreecommitdiff
path: root/lib/cgi
diff options
context:
space:
mode:
-rw-r--r--lib/cgi/core.rb2
-rw-r--r--lib/cgi/html.rb2
2 files changed, 2 insertions, 2 deletions
@@ -408,7 +408,7 @@ class CGI
# values is an Array.
attr_reader :params
- # Get the uploaed files as a hash of name=>values pairs
attr_reader :files
# Set all the parameters.
@@ -455,7 +455,7 @@ class CGI
# image_button("url", "name", "string")
# # <INPUT TYPE="image" SRC="url" NAME="name" ALT="string">
#
- # image_button("SRC" => "url", "ATL" => "strng")
# # <INPUT TYPE="image" SRC="url" ALT="string">
def image_button(src = "", name = nil, alt = nil)
attributes = if src.kind_of?(String)