Are class method and singleton method doing the same or different? Here is an example.
class C def self.classmethod puts \"class method #{self}\" end end
There is no difference. There are no class methods in Ruby. "Class method" is just a name that we humans call a singleton method if the object happens to be an instance of the Class class.
Class