Class: BothIsGood::Comparators::Base
- Inherits:
-
Object
- Object
- BothIsGood::Comparators::Base
- Defined in:
- lib/both_is_good/comparators/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(a, b) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(a, b) ⇒ Base
Returns a new instance of Base.
4 5 6 7 |
# File 'lib/both_is_good/comparators/base.rb', line 4 def initialize(a, b) @a = a @b = b end |