fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b160d23c68
commit
87ea50380d
4
proc.c
4
proc.c
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user