Class: EPUB::Metadata::Title
- Inherits:
-
DCMES
- Object
- DCMES
- EPUB::Metadata::Title
show all
- Includes:
- Comparable
- Defined in:
- lib/epub/metadata.rb
Constant Summary
Constants included
from Refinee
Refinee::PROPERTIES
Instance Attribute Summary
Attributes inherited from DCMES
#content, #dir, #id, #lang
Attributes included from Refinee
#refiners
Instance Method Summary
collapse
Methods inherited from DCMES
#to_s
Instance Method Details
#<=>(other) ⇒ Object
130
131
132
133
134
|
# File 'lib/epub/metadata.rb', line 130
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
|