Class: Pubid::Plateau::Scheme

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/pubid/plateau/scheme.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



12
13
14
15
16
17
# File 'lib/pubid/plateau/scheme.rb', line 12

def to_s
  result = "PLATEAU #{type_string} #{formatted_number}"
  result += formatted_annex if annex
  result += " #{formatted_edition}" if edition
  result
end