Skip to content

Commit 02a48fb

Browse files
committed
Remove workaround to a Ruby 2.0.0 bug
1 parent 758e223 commit 02a48fb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

activesupport/lib/active_support/duration.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,6 @@ def sum(sign, time = ::Time.current) #:nodoc:
122122

123123
private
124124

125-
# We define it as a workaround to Ruby 2.0.0-p353 bug.
126-
# For more information, check rails/rails#13055.
127-
# Remove it when we drop support for 2.0.0-p353.
128-
def ===(other) #:nodoc:
129-
value === other
130-
end
131-
132125
def method_missing(method, *args, &block) #:nodoc:
133126
value.send(method, *args, &block)
134127
end

0 commit comments

Comments
 (0)