new_operators 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/lib/new_operators.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  class Fixnum
2
- def +(x)
2
+ def ^(x)
3
3
  product = x
4
4
  x.times do
5
5
  product = product * self
@@ -1,3 +1,3 @@
1
1
  module NewOperators
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: new_operators
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.4
5
+ version: 0.0.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Charlie McElfresh