Skip to content
This repository
Browse code

fixing space errors

  • Loading branch information...
commit 32844cbc025b394ecd0b9fe2fd755b4e5b6cd4e7 1 parent c819c13
Aaron Patterson authored July 26, 2010
4  activesupport/lib/active_support/deprecation/proxy_wrappers.rb
@@ -5,11 +5,11 @@ module Deprecation
5 5
     class DeprecationProxy #:nodoc:
6 6
       def self.new(*args, &block)
7 7
         object = args.first
8  
-        
  8
+
9 9
         return object unless object
10 10
         super
11 11
       end
12  
-      
  12
+
13 13
       instance_methods.each { |m| undef_method m unless m =~ /^__|^object_id$/ }
14 14
 
15 15
       # Don't give a deprecation warning on inspect since test/unit and error
8  activesupport/test/deprecation/proxy_wrappers_test.rb
@@ -4,19 +4,19 @@
4 4
 class ProxyWrappersTest < Test::Unit::TestCase
5 5
   Waffles     = false
6 6
   NewWaffles  = :hamburgers
7  
-  
  7
+
8 8
   def test_deprecated_object_proxy_doesnt_wrap_falsy_objects
9 9
     proxy = ActiveSupport::Deprecation::DeprecatedObjectProxy.new(nil, "message")
10 10
     assert !proxy
11 11
   end
12  
-  
  12
+
13 13
   def test_deprecated_instance_variable_proxy_doesnt_wrap_falsy_objects
14 14
     proxy = ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new(nil, :waffles)
15 15
     assert !proxy
16 16
   end
17  
-  
  17
+
18 18
   def test_deprecated_constant_proxy_doesnt_wrap_falsy_objects
19 19
     proxy = ActiveSupport::Deprecation::DeprecatedConstantProxy.new(Waffles, NewWaffles)
20 20
     assert !proxy
21 21
   end
22  
-end
  22
+end

0 notes on commit 32844cb

Please sign in to comment.
Something went wrong with that request. Please try again.