Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!news.cgarbs.de!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!talisker.lacave.net!lacave.net!not-for-mail From: Su Zhang Newsgroups: comp.lang.ruby Subject: Re: where is instance_eval() defined? Date: Wed, 18 May 2011 19:42:46 -0500 Organization: Service de news de lacave.net Lines: 14 Message-ID: <1d5778483cf0f04be5d6b19d5fd0a45f@ruby-forum.com> References: <2cc9ff11bb5b55541bb3db755b6cf543@ruby-forum.com> NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: talisker.lacave.net 1305765798 27146 65.111.164.187 (19 May 2011 00:43:18 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Thu, 19 May 2011 00:43:18 +0000 (UTC) In-Reply-To: <2cc9ff11bb5b55541bb3db755b6cf543@ruby-forum.com> X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 383458 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: <1d5778483cf0f04be5d6b19d5fd0a45f@ruby-forum.com> Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:4750 7stud -- wrote in post #999537: > Nor is it listed in BasicObjec p RUBY_VERSION # => "1.9.2" p BasicObject.public_instance_methods.grep(/eval/) # => [:instance_eval] and in vm_eval.c: rb_define_method(rb_cBasicObject, "instance_eval", rb_obj_instance_eval, -1); -- Posted via http://www.ruby-forum.com/.