lib/danica/base_operations.rb in danica-2.3.0 vs lib/danica/base_operations.rb in danica-2.3.1
- old
+ new
@@ -15,7 +15,15 @@
end
def -(other)
self + negative(other)
end
+
+ def **(other)
+ power(self, other)
+ end
+
+ def -@
+ negative(self)
+ end
end
end