module Utils::IRB::Shell

def irb_singleton_methods(obj = self)

Returns:
  • (Array) - an array of singleton method names associated with the object

Parameters:
  • obj (Object) -- the object whose singleton methods are to be retrieved
def irb_singleton_methods(obj = self)
  irb_wrap_methods obj, obj.methods(false)
end