Introspection can always be played to get things done. What I meant
was similar behaviors to the statis methods in C++/Java/whatever else. 
In Ruby, a class object create a new object using "new" method 
and the new object can access the
class constants but not the methods, which are in the same context as the
constants. This is quite different than other languages.

Thanks

-Ted


> 
> Currently, I can do this:
> 
>   class A
>     def self.a
>       puts "A.a"
>     end
> 
>     def b
>       self.class.a
>     end
>   end
> 
> but it doesn't work with derived types:
> 
>   class B < A
>     def self.a
>       puts "B.a"
>     end
>   end
>   b = B.new
>   b.b #=> B.a
> 
> Perhaps it would be nice if I could get information about the current
> method being executed:
> 
>   class A
>     def b
>       thismethod.class.a
>     end
>   end
>   b = B.new
>   b.b #=> A.a
> 
> Just a thought.
> 
> Paul>