From c9dd4823d98141754842c0b356b141d94ba36604 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 20 Mar 2010 03:30:59 +0000 Subject: * 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 --- lib/cgi/core.rb | 2 +- lib/cgi/html.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/cgi') 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") # # # - # image_button("SRC" => "url", "ATL" => "strng") + # image_button("SRC" => "url", "ALT" => "string") # # def image_button(src = "", name = nil, alt = nil) attributes = if src.kind_of?(String) -- cgit v1.2.3