Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix indentation from merge.

  • Loading branch information...
commit 6d6d12bacfecd54068ce52a2d23d014ff9d0242c 1 parent 5dca9fa
@aquasync authored
Showing with 7 additions and 7 deletions.
  1. +3 −3 lib/ole/support.rb
  2. +4 −4 test/test_support.rb
View
6 lib/ole/support.rb
@@ -36,9 +36,9 @@ def size
class Symbol # :nodoc:
unless Symbol.method_defined?(:to_proc)
- def to_proc
- Proc.new { |*args| args.shift.__send__(self, *args) }
- end
+ def to_proc
+ Proc.new { |*args| args.shift.__send__(self, *args) }
+ end
end
end
View
8 test/test_support.rb
@@ -45,10 +45,10 @@ def test_string
assert_equal [6], str.indexes('||')
end
- def test_symbol
- array = (1..10).to_a
- assert_equal 55, array.inject(&:+)
- end
+ def test_symbol
+ array = (1..10).to_a
+ assert_equal 55, array.inject(&:+)
+ end
end
class TestIOMode < Test::Unit::TestCase
Please sign in to comment.
Something went wrong with that request. Please try again.