From 87ea50380d06e71889251a22e86731c7f1dfa6bb Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 9 Feb 2008 09:49:31 +0000 Subject: [PATCH] fix typos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- proc.c | 4 ++-- 1 file 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.