ruby-changes:3317
From: ko1@a...
Date: 31 Dec 2007 14:53:13 +0900
Subject: [ruby-changes:3317] akr - Ruby:r14810 (trunk): fix typos.
akr 2007-12-31 14:52:59 +0900 (Mon, 31 Dec 2007) New Revision: 14810 Modified files: trunk/encoding.c trunk/re.c trunk/string.c Log: fix typos. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=14810&r2=14809 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/re.c?r1=14810&r2=14809 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/encoding.c?r1=14810&r2=14809 Index: encoding.c =================================================================== --- encoding.c (revision 14809) +++ encoding.c (revision 14810) @@ -797,7 +797,7 @@ * Encoding.compatible?(str1, str2) => enc or nil * * Checks the compatibility of two strings. - * If they are compabible, means concatinatable, + * If they are compatible, means concatenatable, * returns an encoding which the concatinated string will be. * If they are not compatible, nil is returned. * Index: re.c =================================================================== --- re.c (revision 14809) +++ re.c (revision 14810) @@ -2317,7 +2317,7 @@ * ... * end * - * The retuen value is a value from block exection in this case. + * The return value is a value from block execution in this case. */ static VALUE Index: string.c =================================================================== --- string.c (revision 14809) +++ string.c (revision 14810) @@ -1738,7 +1738,7 @@ * ... * end * - * The retuen value is a value from block exection in this case. + * The return value is a value from block execution in this case. */ static VALUE @@ -1940,7 +1940,7 @@ * Iterates through successive values, starting at <i>str</i> and * ending at <i>other_str</i> inclusive, passing each value in turn to * the block. The <code>String#succ</code> method is used to generate - * each value. If optional second arguent excle is omitted or is <code>false</code>, + * each value. If optional second argument exclusive is omitted or is <code>false</code>, * the last value will be included; otherwise it will be excluded. * * "a8".upto("b6") {|s| print s, ' ' } @@ -2568,7 +2568,7 @@ enc = rb_enc_check(str, val); str_mod_check(str, sp, slen); if (bang) str_frozen_check(str); - if (val == dest) { /* paranoid chack [ruby-dev:24827] */ + if (val == dest) { /* paranoid check [ruby-dev:24827] */ rb_raise(rb_eRuntimeError, "block should not cheat"); } rb_backref_set(match); @@ -3000,7 +3000,7 @@ * call-seq: * str.inspect => string * - * Returns a printable version of _str_, srrounded by quote marks, + * Returns a printable version of _str_, surrounded by quote marks, * with special characters escaped. * * str = "hello" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml