diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-20 03:30:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-20 03:30:59 +0000 |
commit | c9dd4823d98141754842c0b356b141d94ba36604 (patch) | |
tree | f2b25b637c22571cfc5c1eed76ee62b19520b47f /lib/cgi | |
parent | 772cc7a4f212fa3249f88c98b19645beb7f3d199 (diff) |
* lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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) |