From: Trans Date: 2006-11-19T01:00:15+09:00 Subject: How to call a class method via the singleton if it exists I want to call a class level method from the the instance level, but I need it to go through the singeton if it exists. Here is the most basic example: class X def self.f ; "A" ; end def g ; self.class.f ; end end x = X.new x.g #=> "A" def x.f; "B"; end x.g #=> "A" How do I get the last to return "B"? I know I could use '(class<