Method: JSON::Util::UUID#<=>

Defined in:
lib/json-schema/uri/uuid.rb

#<=>(other) ⇒ Object

UUIDs are comparable (don’t know what benefits are there, though).



271
272
273
# File 'lib/json-schema/uri/uuid.rb', line 271

def <=> other
	to_s <=> other.to_s
end