aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-26 09:57:29 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-07-26 09:58:35 -0700
commit32844cbc025b394ecd0b9fe2fd755b4e5b6cd4e7 (patch)
treec7ce1216c0f243de6ad0dd2593e2305db4eabb6b /activesupport/lib
parentc819c131f2d08a8c9089a6ef0dcadcf912e2538c (diff)
downloadrails-32844cbc025b394ecd0b9fe2fd755b4e5b6cd4e7.tar.gz
rails-32844cbc025b394ecd0b9fe2fd755b4e5b6cd4e7.tar.bz2
rails-32844cbc025b394ecd0b9fe2fd755b4e5b6cd4e7.zip
fixing space errors
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/deprecation/proxy_wrappers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/deprecation/proxy_wrappers.rb b/activesupport/lib/active_support/deprecation/proxy_wrappers.rb
index b22d0a6941..deb33ab702 100644
--- a/activesupport/lib/active_support/deprecation/proxy_wrappers.rb
+++ b/activesupport/lib/active_support/deprecation/proxy_wrappers.rb
@@ -5,11 +5,11 @@ module ActiveSupport
class DeprecationProxy #:nodoc:
def self.new(*args, &block)
object = args.first
-
+
return object unless object
super
end
-
+
instance_methods.each { |m| undef_method m unless m =~ /^__|^object_id$/ }
# Don't give a deprecation warning on inspect since test/unit and error