Hello all,

Aliasing an object method is simple:


class QQQ
    def aaa
    end

    alias_method(:new_name_for_aaa, :aaa)
end


How do I alias a singleton method of a Class object (or, as many call it,  a class method) ?


class QQQ
    def self.aaa
    end
end


-- 
Best regards,
Yuri Leikind