class MatherLib
Public Instance Methods
add(first, second)
click to toggle source
add adds two numbers
# File src/lib/mather.rb, line 3 def add(first, second) return first + second end
subtract(first, second)
click to toggle source
subtract subtracts two numbers
# File src/lib/mather.rb, line 8 def subtract(first, second) return second - first end