Class: Arithmetic
- Inherits:
-
Object
- Object
- Arithmetic
- Defined in:
- lib/simple_operations_arithmetic.rb
Class Method Summary collapse
Class Method Details
.add(a, b) ⇒ Object
2 3 4 |
# File 'lib/simple_operations_arithmetic.rb', line 2 def self.add(a,b) a+b end |