Method: Object#interesting_methods

Defined in:
lib/interesting_methods.rb

#interesting_methodsObject



7
8
9
10
11
12
13
# File 'lib/interesting_methods.rb', line 7

def interesting_methods
  if self.class == Module
    (singleton_methods + instance_methods).uniq.sort
  else
    (public_methods - Object.methods).sort
  end
end