On Sun, 2 Apr 2006, Yukihiro Matsumoto wrote:

> |why not be consistent
> |
> |     harp:~ > cat a.c
> |     #include <stdlib.h>
> |     #include <stdio.h>
> |     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