Class: Pubid::Bsi::Collection
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Pubid::Bsi::Collection
- Defined in:
- lib/pubid/bsi/model.rb
Overview
Collection model for combined documents (e.g., PAS 2035/2030)
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
41 42 43 44 45 46 |
# File 'lib/pubid/bsi/model.rb', line 41 def to_s result = "#{type} #{numbers.join('/')}" result += ":#{year}" if year supplements.each { |s| result += s.to_s } result end |