diff --git a/ChangeLog b/ChangeLog index 03dfdf62ef..a4cfc98d4c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Mar 20 12:30:54 2010 Nobuyoshi Nakada + + * lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716]. + Fri Mar 19 17:12:34 2010 Nobuyoshi Nakada * ruby.h (RSTRING_*, RARRAY_*, RREGEXP_*, RSTRUCT_*, RBIGNUM_*): diff --git a/lib/cgi.rb b/lib/cgi.rb index 8598cff6c6..deb3caaaf3 100644 --- a/lib/cgi.rb +++ b/lib/cgi.rb @@ -1690,7 +1690,7 @@ class CGI # image_button("url", "name", "string") # # # - # image_button("SRC" => "url", "ATL" => "strng") + # image_button("SRC" => "url", "ATL" => "string") # # def image_button(src = "", name = nil, alt = nil) attributes = if src.kind_of?(String) diff --git a/lib/ipaddr.rb b/lib/ipaddr.rb index fe963e406c..0f5fc0654b 100644 --- a/lib/ipaddr.rb +++ b/lib/ipaddr.rb @@ -434,7 +434,7 @@ class IPAddr # automatically from a specified string, you can specify one # explicitly by the optional second argument. # - # Otherwise an IP addess is generated from a packed in_addr value + # Otherwise an IP address is generated from a packed in_addr value # and an address family. # # The IPAddr class defines many methods and operators, and some of @@ -462,7 +462,7 @@ class IPAddr #Socket.getaddrinfo(left, nil, Socket::AF_INET6, Socket::SOCK_STREAM, nil, # Socket::AI_NUMERICHOST) begin - IPSocket.getaddress(prefix) # test if address is vaild + IPSocket.getaddress(prefix) # test if address is valid rescue raise ArgumentError, "invalid address" end diff --git a/lib/irb/notifier.rb b/lib/irb/notifier.rb index 0f79bc5a8d..dc472bc2ab 100644 --- a/lib/irb/notifier.rb +++ b/lib/irb/notifier.rb @@ -26,7 +26,7 @@ module IRB end module_function :def_notifier - class AbstructNotifier + class AbstractNotifier def initialize(prefix, base_notifier) @prefix = prefix @base_notifier = base_notifier @@ -73,7 +73,7 @@ module IRB end end - class CompositeNotifier