Class: Arithmetic

Inherits:
Object show all
Defined in:
lib/swxruby/services/arithmetic.rb

Instance Method Summary collapse

Instance Method Details

#addition(first, second) ⇒ Object



2
3
4
# File 'lib/swxruby/services/arithmetic.rb', line 2

def addition(first, second)
	first + second
end

#multiply(first, second) ⇒ Object



6
7
8
# File 'lib/swxruby/services/arithmetic.rb', line 6

def multiply(first, second)
	first * second
end