summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-09 09:49:31 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-09 09:49:31 +0000
commit87ea50380d06e71889251a22e86731c7f1dfa6bb (patch)
treeba6d15ca167ec1cd8d71d6d1803fcb5ca12581dc
parentb160d23c68e2e8fcd82b96fab0977be11c2b9ec6 (diff)
fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proc.c b/proc.c
index c8eac602a7..79540fa8df 100644
--- a/proc.c
+++ b/proc.c
@@ -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.