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

Alex 2k8 lists at ruby-forum.com
Thu Jan 8 19:53:05 EST 2009


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


More information about the Ironruby-core mailing list