class method
self.method_added
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
self.method_added(name)
Detect method additions to Object and remove them in the BlankSlate class.
Parameters
-
namereq
Source
# File activesupport/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
Defined in activesupport/lib/active_support/vendor/builder-2.1.2/blankslate.rb line 83
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Object