Class: Object

Inherits:
BasicObject
Defined in:
lib/fertilizer/object_extensions.rb

Instance Method Summary collapse

Instance Method Details

#show_methodsObject

Return only the methods not present on basic objects



29
30
31
# File 'lib/fertilizer/object_extensions.rb', line 29

def show_methods
  colputs (self.methods - Object.new.methods).sort
end