Class: Pubid::Bsi::Identifiers::ValueAddedPublication

Inherits:
SingleIdentifier
  • Object
show all
Defined in:
lib/pubid/bsi/identifiers/value_added_publication.rb

Overview

Value-Added Publication Identifier Wraps base identifier with format suffix (PDF, TC, BOOK) Similar to IEC VapIdentifier and BSI ExpertCommentary

Examples:

PD 5500:2018+A3:2020 PDF
PAS 96:2017 - TC
PP 7722:2006 BOOK

Instance Method Summary collapse

Instance Method Details

#dateObject



31
32
33
# File 'lib/pubid/bsi/identifiers/value_added_publication.rb', line 31

def date
  base_identifier&.date
end

#numberObject



23
24
25
# File 'lib/pubid/bsi/identifiers/value_added_publication.rb', line 23

def number
  base_identifier&.number
end

#publisherObject

Delegate common attributes to base_identifier



19
20
21
# File 'lib/pubid/bsi/identifiers/value_added_publication.rb', line 19

def publisher
  base_identifier&.publisher
end

#yearObject



27
28
29
# File 'lib/pubid/bsi/identifiers/value_added_publication.rb', line 27

def year
  base_identifier&.year
end