Class: Object

Inherits:
BasicObject
Defined in:
lib/commonthread/monkey_patches.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.my_methodsObject



149
150
151
# File 'lib/commonthread/monkey_patches.rb', line 149

def self.my_methods
  methods - (superclass ? superclass.methods : [])
end

Instance Method Details

#my_methodsObject



153
154
155
# File 'lib/commonthread/monkey_patches.rb', line 153

def my_methods
  methods - (self.class.superclass ? self.class.superclass.new.methods : [])
end