Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add minus method-----

close #5
  • Loading branch information...
commit 83b3fd8b62deae496d77b6ebc2c3851ef2e5419c 1 parent c803a4e
@radioboo radioboo authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 calc.rb
View
4 calc.rb
@@ -23,3 +23,7 @@ def plus( operand1, operand2 )
def multiply(a, b)
a * b
end
+
+def minus(op1, op2)
+ return op1 - op2
+end
Please sign in to comment.
Something went wrong with that request. Please try again.