Re: [Ironruby-core] Access Top Level methods

2011-08-02 Thread Lewis Lin
irb result. Regards *From:* Lewis Lin <mailto:l...@polypaths.com> *Sent:* Thursday, June 30, 2011 9:58 PM *To:* ironruby-core@rubyforge.org <mailto:ironruby-core@rubyforge.org> *Subject:* [Ironruby-core] Access Top Level methods Hi, I am trying to access top level method from the c

Re: [Ironruby-core] Access Top Level methods

2011-07-20 Thread Lewis Lin
. Regards *From:* Lewis Lin <mailto:l...@polypaths.com> *Sent:* Thursday, June 30, 2011 9:58 PM *To:* ironruby-core@rubyforge.org <mailto:ironruby-core@rubyforge.org> *Subject:* [Ironruby-core] Access Top Level methods Hi, I am trying to access top level method from the class

Re: [Ironruby-core] Access Top Level methods

2011-07-20 Thread Sickboy
I cannot reproduce this issue with IronRuby 1.1.3.0 on .NET 4.0.30319.235 It works as expected: ir.exe result is same as irb result. Regards From: Lewis Lin Sent: Thursday, June 30, 2011 9:58 PM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Access Top Level methods Hi, I am trying

[Ironruby-core] Access Top Level methods

2011-06-30 Thread Lewis Lin
Hi, I am trying to access top level method from the class definition in IronRuby scripts. Example: def global_hi end class A def hi global_hi end end A.new.hi The script executed in ScriptEngine throws a NoSuchMethodError. I tried to ran the same code in iirb.exe It seems to be