fix typos.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-02-09 09:49:31 +00:00
parent b160d23c68
commit 87ea50380d

4
proc.c
View File

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