class Utils::IRB::Shell::MethodWrapper
def <=>(other)
def <=>(other) @description <=> other.description end
def arity
def arity method.arity end
def initialize(obj, name, modul)
def initialize(obj, name, modul) super(name) @method = modul ? obj.instance_method(name) : obj.method(name) @description = "#{owner}##@name(#{arity})" end
def owner
def owner method.respond_to?(:owner) ? method.owner : nil end
def source_location
def source_location method.source_location end