Method: Ice::OperationMode#<=>

Defined in:
lib/Ice/Current.rb

#<=>(other) ⇒ Object



50
51
52
53
# File 'lib/Ice/Current.rb', line 50

def <=>(other)
    other.is_a?(OperationMode) or raise ArgumentError, "value must be a OperationMode"
    @value <=> other.to_i
end