Remove workaround to a Ruby 2.0.0 bug

上级 758e223c
......@@ -122,13 +122,6 @@ def sum(sign, time = ::Time.current) #:nodoc:
private
# We define it as a workaround to Ruby 2.0.0-p353 bug.
# For more information, check rails/rails#13055.
# Remove it when we drop support for 2.0.0-p353.
def ===(other) #:nodoc:
value === other
end
def method_missing(method, *args, &block) #:nodoc:
value.send(method, *args, &block)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册