diff --git a/ChangeLog b/ChangeLog index b96376e6af..ad4217f096 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1156,7 +1156,7 @@ Tue Aug 5 16:43:07 2008 Shugo Maeda Tue Aug 5 16:33:20 2008 Shugo Maeda - * lib/net/imap.rb (disconnect): do not refer SSL::SSLSocket for + * lib/net/imap.rb (disconnect): do not refer to SSL::SSLSocket for environments without OpenSSL. backported from trunk. fixed [ruby-dev:35755]. @@ -2907,7 +2907,7 @@ Mon Apr 21 15:54:48 2008 Yukihiro Matsumoto Mon Apr 21 10:17:17 2008 NAKAMURA Usaku - * time.c: should include to refer errno. + * time.c: should include to refer to errno. Mon Apr 21 10:02:43 2008 NAKAMURA Usaku @@ -4692,8 +4692,8 @@ Tue Oct 2 20:35:24 2007 NAKAMURA Usaku Mon Oct 1 12:50:59 2007 Yukihiro Matsumoto - * gc.c (id2ref): valid id should not refer T_VALUE nor T_ICLASS. - [ruby-dev:31911] + * gc.c (id2ref): valid id should not refer to T_VALUE nor + T_ICLASS. [ruby-dev:31911] Wed Sep 26 23:54:37 2007 Nobuyoshi Nakada @@ -5369,7 +5369,7 @@ Mon Jun 4 11:11:12 2007 Shugo Maeda error message. (backported from HEAD) * lib/net/imap.rb (ResponseParser#parse_error): fixed - the condition not to refer @token.symbol unexpectedly. + the condition not to refer to @token.symbol unexpectedly. Thanks, Dick Monahan. (backported from HEAD) Thu May 31 17:27:53 2007 Nobuyoshi Nakada @@ -9014,8 +9014,8 @@ Tue Apr 25 00:08:24 2006 Yukihiro Matsumoto Fri Apr 21 15:19:13 2006 Hidetoshi NAGAI - * ext/tk/tcltklib.c (lib_eventloop_ensure): refer freed pointer - [ruby-core:07744] and memory leak. + * ext/tk/tcltklib.c (lib_eventloop_ensure): avoid dereferencing + freed pointer [ruby-core:07744] and memory leak. Fri Apr 21 12:14:52 2006 Yukihiro Matsumoto @@ -10657,7 +10657,7 @@ Wed Sep 28 23:09:23 2005 Yukihiro Matsumoto Wed Sep 28 15:14:19 2005 GOTOU Yuuzou * lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string should - refer the value of QUERY_STRING. [ruby-list:41186] + refer to the value of QUERY_STRING. [ruby-list:41186] * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#query_string=): add new method. @@ -17010,7 +17010,7 @@ Mon Sep 6 11:00:47 2004 Yukihiro Matsumoto Mon Sep 6 07:51:42 2004 Yukihiro Matsumoto - * eval.c (cvar_cbase): singletons should refer outer cvar scope. + * eval.c (cvar_cbase): singletons should refer to outer cvar scope. [ruby-dev:24223] * eval.c (rb_load): should preserve previous ruby_wrapper value. @@ -24933,7 +24933,7 @@ Tue Aug 5 15:47:34 2003 Nobuyoshi Nakada Tue Aug 5 10:04:42 2003 Yukihiro Matsumoto - * string.c (str_new4): ptr may refer null_str. + * string.c (str_new4): ptr may refer to null_str. Mon Aug 4 17:25:18 2003 Yukihiro Matsumoto diff --git a/ext/tk/lib/tcltk.rb b/ext/tk/lib/tcltk.rb index 7f6f41605d..c875a3503e 100644 --- a/ext/tk/lib/tcltk.rb +++ b/ext/tk/lib/tcltk.rb @@ -237,7 +237,7 @@ class TclTkVariable < TclTkObject set(dat) if dat end - # although you can set/refer variable by using set in tcl/tk, + # although you can set/read variables by using set in tcl/tk, # we provide the method for accessing variables # set(data): set tcl/tk variable using `set' diff --git a/ext/tk/sample/msgs_rb/README b/ext/tk/sample/msgs_rb/README index 2e3ff2a9c4..d986e031fd 100644 --- a/ext/tk/sample/msgs_rb/README +++ b/ext/tk/sample/msgs_rb/README @@ -1,3 +1,3 @@ Message catalogs in this directory depend on Tcl/Tk's message catalogs. Texts of each locale are copied from Tcl/Tk8.5a1 widget demos. -Please refer '../msgs_tk/README'. +Please refer to '../msgs_tk/README'. diff --git a/lib/net/http.rb b/lib/net/http.rb index 7dd1f24d4c..a9ff60d663 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -39,7 +39,7 @@ module Net #:nodoc: # # This library provides your program functions to access WWW # documents via HTTP, Hyper Text Transfer Protocol version 1.1. - # For details of HTTP, refer [RFC2616] + # For details of HTTP, refer to [RFC2616] # (http://www.ietf.org/rfc/rfc2616.txt). # # == Examples diff --git a/lib/soap/mapping/wsdlencodedregistry.rb b/lib/soap/mapping/wsdlencodedregistry.rb index 4efb60188f..8523756759 100644 --- a/lib/soap/mapping/wsdlencodedregistry.rb +++ b/lib/soap/mapping/wsdlencodedregistry.rb @@ -59,7 +59,7 @@ class WSDLEncodedRegistry < Registry end end - # map anything for now: must refer WSDL while mapping. [ToDo] + # map anything for now: must refer to WSDL while mapping. [ToDo] def soap2obj(node, obj_class = nil) begin return any2obj(node, obj_class) diff --git a/marshal.c b/marshal.c index 0abb7efbec..8f61993fb4 100644 --- a/marshal.c +++ b/marshal.c @@ -133,7 +133,7 @@ class2path(klass) n); } if (rb_path2class(n) != rb_class_real(klass)) { - rb_raise(rb_eTypeError, "%s can't be referred", n); + rb_raise(rb_eTypeError, "%s can't be referred to", n); } return path; } @@ -1034,7 +1034,7 @@ path2class(path) VALUE v = rb_path2class(path); if (TYPE(v) != T_CLASS) { - rb_raise(rb_eArgError, "%s does not refer class", path); + rb_raise(rb_eArgError, "%s does not refer to class", path); } return v; } @@ -1046,7 +1046,7 @@ path2module(path) VALUE v = rb_path2class(path); if (TYPE(v) != T_MODULE) { - rb_raise(rb_eArgError, "%s does not refer module", path); + rb_raise(rb_eArgError, "%s does not refer to module", path); } return v; } diff --git a/variable.c b/variable.c index 3950fdbf8f..f037000c59 100644 --- a/variable.c +++ b/variable.c @@ -274,7 +274,7 @@ rb_path2class(path) case T_CLASS: break; default: - rb_raise(rb_eTypeError, "%s does not refer class/module", path); + rb_raise(rb_eTypeError, "%s does not refer to class/module", path); } }