aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/vendor/builder/blankslate.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/vendor/builder/blankslate.rb')
-rw-r--r--activesupport/lib/active_support/vendor/builder/blankslate.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/vendor/builder/blankslate.rb b/activesupport/lib/active_support/vendor/builder/blankslate.rb
index 23b95170d9..57701d8713 100644
--- a/activesupport/lib/active_support/vendor/builder/blankslate.rb
+++ b/activesupport/lib/active_support/vendor/builder/blankslate.rb
@@ -48,13 +48,13 @@ module Kernel #:nodoc:
end
end
-class Object #:nodoc:
+class Object
class << self
alias_method :blank_slate_method_added, :method_added
# Detect method additions to Object and remove them in the
# BlankSlate class.
- def method_added(name)
+ def method_added(name) #:nodoc:
blank_slate_method_added(name)
return if self != Object
Builder::BlankSlate.hide(name)