From: ara.t.howard@... Date: 2006-04-02T01:59:34+09:00 Subject: Re: ruby-dev summary 28274-28600 On Sun, 2 Apr 2006, Yukihiro Matsumoto wrote: > |why not be consistent > | > | harp:~ > cat a.c > | #include > | #include > | main () { printf ("%s:%s:%d\n", __FILE__, __FUNCTION__, __LINE__); } > | > | > | harp:~ > gcc a.c && a.out > | a.c:main:3 > > Because we don't have real functions but methods in Ruby. > > matz. i see your point... still, it seems to cut both ways: harp:~ > ruby -e' p [__FILE__, __LINE__]; eval "p [__FILE__, __LINE__]" ' ["-e", 1] ["(eval)", 1] regards. -a -- share your knowledge. it's a way to achieve immortality. - h.h. the 14th dali lama