class Lutaml::Rdf::Iri

def <=>(other)

def <=>(other)
  other.is_a?(self.class) ? value <=> other.value : nil
end

def ==(other)

def ==(other)
  other.is_a?(self.class) && value == other.value
end

def compact(namespace_set)

def compact(namespace_set)
  namespace_set.compact(value)
end

def expand(namespace_set)

def expand(namespace_set)
  namespace_set.resolve_compact_iri(value)
end

def hash

def hash
  value.hash
end

def initialize(uri_string)

def initialize(uri_string)
  @value = uri_string.to_s.freeze
end

def inspect

def inspect
  "#<#{self.class.name} #{value}>"
end

def to_s

def to_s
  value
end