diff options
Diffstat (limited to 'lib/cgi')
-rw-r--r-- | lib/cgi/core.rb | 2 | ||||
-rw-r--r-- | lib/cgi/html.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/cgi/core.rb b/lib/cgi/core.rb index 3930663331..f3e2300414 100644 --- a/lib/cgi/core.rb +++ b/lib/cgi/core.rb @@ -408,7 +408,7 @@ class CGI # values is an Array. attr_reader :params - # Get the uploaed files as a hash of name=>values pairs + # Get the uploaded files as a hash of name=>values pairs attr_reader :files # Set all the parameters. diff --git a/lib/cgi/html.rb b/lib/cgi/html.rb index 8ee38000c5..28642198fd 100644 --- a/lib/cgi/html.rb +++ b/lib/cgi/html.rb @@ -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") + # image_button("SRC" => "url", "ALT" => "string") # # <INPUT TYPE="image" SRC="url" ALT="string"> def image_button(src = "", name = nil, alt = nil) attributes = if src.kind_of?(String) |