From c49c585b78997eee862939cb656d31dbbeb2b82e Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Sat, 23 Jun 2012 16:18:37 +0900 Subject: [PATCH] Add plus function --- calc.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/calc.rb b/calc.rb index e69de29..aa5029b 100644 --- a/calc.rb +++ b/calc.rb @@ -0,0 +1,4 @@ +def plus( operand1, operand2 ) + result = operand1 + operand2 + return result +end