From: Deepak Gole Date: 2009-07-31T20:33:13+09:00 Subject: Interesting behaviour --001485f91eca81e8d9046ffead55 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit When I does following thing on irb console def foo 1 end foo ===>o/p 1 foo.foo ===>o/p 1 foo.foo.foo ===>o/p 1 foo.foo.foo.foo.foo.foo.foo.foo.foo.foo.foo.foo.foo.foo.foo............foo ===>o/p 1 I got above o/p ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- But when I done same thing in Scite editor. I got error def foo 1 end p foo p foo.foo =>o/p private method `foo' called for 1:Fixnum (NoMethodError) How ?? thanks DG --001485f91eca81e8d9046ffead55--