Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: patu90da/iOSStudyGroup
base: 121b8efd74
head fork: patu90da/iOSStudyGroup
compare: ae0908decf
Checking mergeability… Don't worry, you can still create the pull request.
  • 3 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Jun 23, 2012
@ichinohe ichinohe Add function. 213aacc
@ichinohe ichinohe Modify. 6d01ac3
Yuki Okubo Merged. ae0908d
Showing with 6 additions and 1 deletion.
  1. +6 −1 calc.rb
7 calc.rb
@@ -4,7 +4,7 @@
when '-'
p minus(ARGV[1].to_i, ARGV[2].to_i)
when '*'
- p (ARGV[1].to_i, ARGV[2].to_i)
+ p multiply(ARGV[1].to_i, ARGV[2].to_i)
when '/'
p div(ARGV[1].to_i, ARGV[2].to_i)
@@ -19,3 +19,8 @@ def plus( operand1, operand2 )
result = operand1 + operand2
return result
+def multiply(a, b)
+ a * b

No commit comments for this range

Something went wrong with that request. Please try again.