Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clean up trailing whitespace

  • Loading branch information...
commit d905969bcf07e48c337f3f2413d7f13792f954fc 1 parent d9f3e6a
@kachick authored
View
2  .gitignore
@@ -29,4 +29,4 @@ doc/
.redcar
# other
-*.lock
+*.lock
View
3  Rakefile
@@ -8,5 +8,4 @@ task default: [:test]
Rake::TestTask.new do |tt|
tt.verbose = true
tt.warning = true
-end
-
+end
View
3  benchmarks/basics.rb
@@ -79,5 +79,4 @@ def initialize
klass.intern :metal, 2000, HeavyParts.new
end
end
-end
-
+end
View
2  examples/README.rb
@@ -21,4 +21,4 @@ def initialize(looks, price)
p a == c #=> true
p a.equal? c #=> false
p a == d #=> false
-p a.equal? d #=> false
+p a.equal? d #=> false
View
2  examples/heavystring.rb
@@ -39,4 +39,4 @@ def to_str
p foo.chars.to_a[0].equal?(foo.chars.to_a[1]) #=> false
p foo.chars.to_a[1].equal?(foo.chars.to_a[2]) #=> false
p bar.chars[0].equal?(bar.chars[1]) #=> false
-p bar.chars[1].equal?(bar.chars[2]) #=> true
+p bar.chars[1].equal?(bar.chars[2]) #=> true
View
2  lib/flyweight.rb
@@ -46,4 +46,4 @@ def _comparable
instance_variables.map{|var|instance_variable_get var}
end
-end
+end
View
2  lib/flyweight/classmethods.rb
@@ -43,4 +43,4 @@ def _pool
end
-end
+end
View
2  lib/flyweight/singletonclass.rb
@@ -10,4 +10,4 @@ def included(mod)
end
-end
+end
View
2  lib/flyweight/version.rb
@@ -2,4 +2,4 @@ module Flyweight
VERSION = '0.0.4'.freeze
-end
+end
View
2  test/test_flyweight.rb
@@ -55,4 +55,4 @@ def test_class_clone
assert_same false, klass1.new(:metal, 2000).equal?(klass2.new(:metal, 2000))
assert_same false, klass1.intern(:metal, 2000).equal?(klass2.intern(:metal, 2000))
end
-end
+end
View
2  test/test_helper.rb
@@ -1,2 +1,2 @@
require 'test/unit'
-require_relative '../lib/flyweight'
+require_relative '../lib/flyweight'
Please sign in to comment.
Something went wrong with that request. Please try again.