[Ironruby-core] local variables: Ruby vs. IronRuby difference?

Tomas Matousek Tomas.Matousek at microsoft.com
Thu Jan 8 20:28:03 EST 2009

I fixed this a couple days ago. Don't know whether it has already been pushed out. Jim?


-----Original Message-----
From: 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
Subject: [Ironruby-core] local variables: Ruby vs. IronRuby difference?



  irb(main):001:0> foo = 3
  => 3
  irb(main):002:0> foo
  => 3


  >>> 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

More information about the Ironruby-core mailing list