class EPUB::Publication::Package::Metadata::Title

Public Instance Methods

<=>(other) click to toggle source
# File lib/epub/publication/package/metadata.rb, line 117
def <=>(other)
  return 1 if other.display_seq.nil?
  return -1 if display_seq.nil?
  display_seq.to_s.to_i <=> other.display_seq.to_s.to_i
end