class method
self.method_added
Ruby on Rails 2.2.3
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 Kernel and remove them in the BlankSlate class.
Parameters
-
namereq
Source
# File activesupport/lib/active_support/vendor/builder-2.1.2/blankslate.rb, line 65
def method_added(name)
result = blank_slate_method_added(name)
return result if self != Kernel
BlankSlate.hide(name)
result
end
Defined in activesupport/lib/active_support/vendor/builder-2.1.2/blankslate.rb line 65
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Kernel