Permalink
Browse files

Add plus function

  • Loading branch information...
1 parent 32560b1 commit c49c585b78997eee862939cb656d31dbbeb2b82e @radioboo radioboo committed Jun 23, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 calc.rb
View
@@ -0,0 +1,4 @@
+def plus( operand1, operand2 )
+ result = operand1 + operand2
+ return result
+end

0 comments on commit c49c585

Please sign in to comment.