Class: Object

Inherits:
BasicObject
Defined in:
lib/cards/extensions.rb

Instance Method Summary collapse

Instance Method Details

#dump_methods(ignore = Object) ⇒ Object



41
42
43
44
# File 'lib/cards/extensions.rb', line 41

def dump_methods(ignore = Object)
  ignore = ignore.instance_methods if ignore.is_a? Class
  p (methods - ignore).sort
end