Clint Pachl
10/15/2006 12:27:00 AM
class Test
def self.class_meth
'inside class method'
end
def inst_meth1
self.class.class_meth
end
def inst_meth2
Test.class_meth
end
end
What is the preferred way of calling a class method from within an
instance method, <Class Object>.<class method> or self.class.<class method>?
What are the side effects to either method?
-pachl