diff options
Diffstat (limited to 'lib/mathy/operations/addition.rb')
| -rw-r--r-- | lib/mathy/operations/addition.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/mathy/operations/addition.rb b/lib/mathy/operations/addition.rb index 615359c..a9c38ae 100644 --- a/lib/mathy/operations/addition.rb +++ b/lib/mathy/operations/addition.rb @@ -4,12 +4,6 @@ module Mathy def initialize(difficulty) super(difficulty, "+") end - - def calculate(operands) - operands.inject do |result, x| - result + x - end - end end end end |
