summaryrefslogtreecommitdiffstats
path: root/proc.c
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
commitd34ff6c9299a9ed6749ddc9f223cf55914cc1356 (patch)
treeba6d15ca167ec1cd8d71d6d1803fcb5ca12581dc /proc.c
parent759833538095fcd3096bb8dd8a5391688537f8b0 (diff)
downloadruby-d34ff6c9299a9ed6749ddc9f223cf55914cc1356.tar.gz
ruby-d34ff6c9299a9ed6749ddc9f223cf55914cc1356.tar.xz
ruby-d34ff6c9299a9ed6749ddc9f223cf55914cc1356.zip
fix typos.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proc.c b/proc.c
index c8eac602a..79540fa8d 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.