Class: Liferaft::Version
- Inherits:
-
Object
- Object
- Liferaft::Version
- Defined in:
- lib/xcinvoke/xcode.rb
Instance Method Summary collapse
Instance Method Details
#<=>(other) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/xcinvoke/xcode.rb', line 7 def <=>(other) if self == other 0 elsif self < other -1 else 1 end end |