class Utils::IRB::Shell::MethodWrapper

def owner

Returns:
  • (Object, nil) - the owner of the method or nil if not applicable
def owner
  method.respond_to?(:owner) ? method.owner : nil
end