Dotan N.
2010-Jan-12 20:49 UTC
[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/10c35b22/attachment.html>
Jim Deville
2010-Jan-12 21:06 UTC
[Ironruby-core] in ir, __FILE__ not the same as in irb nor jirb
[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>
Jimmy Schementi
2010-Jan-12 21:10 UTC
[Ironruby-core] in ir, __FILE__ not the same as in irb nor jirb
Actually, I''m pretty sure Dotan just tried it in ir.exe: C:\dev\jschementi_ironruby>rbr IronRuby 0.9.3.0 on .NET 2.0.50727.4927 Copyright (c) Microsoft Corporation. All rights reserved.>>> __FILE__=> "(eval)">>>Dotan, IronRuby''s console as part of ir.exe is NOT the same as IRB; though IronRuby does ship with a "iirb" ... ~js From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Jim Deville Sent: Tuesday, January 12, 2010 1:06 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] in ir, __FILE__ not the same as in irb nor jirb [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/f486c95c/attachment-0001.html>
Dotan N.
2010-Jan-12 21:15 UTC
[Ironruby-core] in ir, __FILE__ not the same as in irb nor jirb
yep. i''ve tried it in ir. thanks it seems to work correctly on iirb :) On Tue, Jan 12, 2010 at 11:10 PM, Jimmy Schementi < Jimmy.Schementi at microsoft.com> wrote:> Actually, I?m pretty sure Dotan just tried it in ir.exe: > > > > C:\dev\jschementi_ironruby>rbr > > IronRuby 0.9.3.0 on .NET 2.0.50727.4927 > > Copyright (c) Microsoft Corporation. All rights reserved. > > > > >>> __FILE__ > > => "(eval)" > > >>> > > > > Dotan, IronRuby?s console as part of ir.exe is NOT the same as IRB; though > IronRuby does ship with a ?iirb? ? > > > > ~js > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Jim Deville > *Sent:* Tuesday, January 12, 2010 1:06 PM > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] in ir, __FILE__ not the same as in irb nor > jirb > > > > [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 > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100112/587f7178/attachment.html>