[Ironruby-core] in ir, __FILE__ not the same as in irb nor jirb

Jim Deville jdeville at microsoft.com
Tue Jan 12 16:06:17 EST 2010


[160] > iirb
irb(main):001:0> __FILE__
=> "(irb)"
irb(main):002:0> exit

Looks like that might have been fixed in RC1, can you try to repro there?

JD

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Dotan N.
Sent: Tuesday, January 12, 2010 12:50 PM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] in ir, __FILE__ not the same as in irb nor jirb

hi all,
not sure if it matters, in both irb and jirb we get "(irb)", however in ir (on 0.9.2) i'm getting "(eval)"
i was just fiddling around with ir and didn't expect this

--
Dotan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100112/17bd11fe/attachment-0001.html>


More information about the Ironruby-core mailing list