lib/perfect_shape/math.rb in perfect-shape-0.0.11 vs lib/perfect_shape/math.rb in perfect-shape-0.1.0

- old
+ new

@@ -74,12 +74,12 @@ def respond_to?(method_name, include_private = false) super || ::Math.respond_to?(method_name, include_private) end - def method_missing(method_name, *args, **kwargs, &block) + def method_missing(method_name, *args, &block) if ::Math.respond_to?(method_name, true) - ::Math.send(method_name, *args, **kwargs, &block) + ::Math.send(method_name, *args, &block) else super end end