Skip to content

Instantly share code, notes, and snippets.

@100lp
Last active December 11, 2015 07:09
Show Gist options
  • Save 100lp/4564745 to your computer and use it in GitHub Desktop.
Save 100lp/4564745 to your computer and use it in GitHub Desktop.
class Calculator
def plus (first, second)
result = first + second
puts result
end
def minus (first, second)
result = first - second
puts result
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment