[前][次][番号順一覧][スレッド一覧]

ruby-changes:3927

From: ko1@a...
Date: Sat, 9 Feb 2008 18:49:44 +0900 (JST)
Subject: [ruby-changes:3927] akr - Ruby:r15417 (trunk): fix typos.

akr	2008-02-09 18:49:31 +0900 (Sat, 09 Feb 2008)

  New Revision: 15417

  Modified files:
    trunk/proc.c

  Log:
    fix typos.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/proc.c?r1=15417&r2=15416&diff_format=u

Index: proc.c
===================================================================
--- proc.c	(revision 15416)
+++ proc.c	(revision 15417)
@@ -14,7 +14,7 @@
 
 struct METHOD {
     VALUE oclass;		/* class that holds the method */
-    VALUE rclass;		/* class of the recevier */
+    VALUE rclass;		/* class of the receiver */
     VALUE recv;
     ID id, oid;
     NODE *body;
@@ -171,7 +171,7 @@
  *   method(:m).to_proc.lambda? => true
  *
  *   n(&method(:m))             => true
- *   n(&method(:m)).to_proc     => true
+ *   n(&method(:m).to_proc)     => true
  *
  * define_method is treated same as method definition.
  * The defined method has no tricks.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]