[Ironruby-core] local variables: Ruby vs. IronRuby difference?
Jim Deville
jdeville at microsoft.com
Fri Jan 9 02:15:39 EST 2009
y.e.s.
:)
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Michael Letterle
Sent: Thursday, January 08, 2009 10:26 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] local variables: Ruby vs. IronRuby difference?
wait.... wait... Does this mean... we're getting LOCAL variables in the ir REPL!?!?!?
On Thu, Jan 8, 2009 at 8:28 PM, Tomas Matousek <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote:
I fixed this a couple days ago. Don't know whether it has already been pushed out. Jim?
Tomas
-----Original Message-----
From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Alex 2k8
Sent: Thursday, January 08, 2009 4:53 PM
To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>
Subject: [Ironruby-core] local variables: Ruby vs. IronRuby difference?
Hello,
Ruby:
irb(main):001:0> foo = 3
=> 3
irb(main):002:0> foo
=> 3
IronRuby:
>>> foo = 3
=> 3
>>> foo
:0: undefined method `foo' for main:Object (NoMethodError)
Any idea, why this error thrown by IronRuby?
- Alex
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core
--
Michael Letterle
[Polymath Prokrammer]
http://blog.prokrams.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090108/a876f7f7/attachment.html>
More information about the Ironruby-core
mailing list