diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-09 09:49:31 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-09 09:49:31 +0000 |
commit | 87ea50380d06e71889251a22e86731c7f1dfa6bb (patch) | |
tree | ba6d15ca167ec1cd8d71d6d1803fcb5ca12581dc /proc.c | |
parent | b160d23c68e2e8fcd82b96fab0977be11c2b9ec6 (diff) | |
download | ruby-87ea50380d06e71889251a22e86731c7f1dfa6bb.tar.gz |
fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 @@ proc_clone(VALUE self) * 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. |