class EPUB::Metadata::Title
Public Instance Methods
Source
# File lib/epub/metadata.rb, line 138 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
# File lib/epub/metadata.rb, line 138 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