"Chr. Rippel" <chr_news / gmx.net> wrote in
.... 
> # extended example
> 
> def Atlas.ruler
>   puts @@rule
> end
> 
> Atlas.ruler          # => Zeus
> 
> class Gods 
>   def Atlas.ruler
>     puts @@rule
>   end
> end
> 
> Atlas.ruler          # => Zeus

Hm, the following might also be illuminating
 
   # continuing the example   above 
  class << Atlas
     remove_method :ruler
 end
  module Olympians
    remove_method :ruler
  end

  Atlas.ruler          # => Cronus

/Christoph