Class: Pubid::Bsi::Identifiers::BundledIdentifier
- Inherits:
-
SingleIdentifier
- Object
- Pubid::Bsi::Identifiers::BundledIdentifier
- Defined in:
- lib/pubid/bsi/identifiers/bundled_identifier.rb
Overview
BundledIdentifier represents multiple standards published together Examples:
BS SP 10 & 11:1949
BS 2SP 68 to BS 2SP 71:1973
BS SP 13; 14; 15 and 16:1949
BS 4048:Parts 1 and 2:1966
Instance Method Summary collapse
Instance Method Details
#<=>(other) ⇒ Object
21 22 23 24 25 26 |
# File 'lib/pubid/bsi/identifiers/bundled_identifier.rb', line 21 def <=>(other) return nil unless other.is_a?(BundledIdentifier) # Compare first identifier identifiers.first <=> other.identifiers.first end |