Method: Object.method_added
- Defined in:
- lib/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/blankslate.rb
.method_added(name) ⇒ Object
Detect method additions to Object and remove them in the BlankSlate class.
83 84 85 86 87 88 |
# File 'lib/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/blankslate.rb', line 83 def method_added(name) result = blank_slate_method_added(name) return result if self != Object BlankSlate.hide(name) result end |