Module: VectorSpace::PartialOrder

Defined in:
lib/vector_space/partial_order.rb

Instance Method Summary collapse

Instance Method Details

#comparable_with?(other) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/vector_space/partial_order.rb', line 12

def comparable_with?(other)
  !(self <=> other).nil?
end