Class: Pubid::Astm::Scheme
Instance Attribute Summary
Attributes inherited from Scheme
#identifiers, #languages, #publishers, #stages, #supplement_identifiers, #types
Class Method Summary
collapse
Methods inherited from Scheme
#all_identifier_classes, #all_typed_stages, #configure, #identifier_class_index, #initialize, #locate_identifier_klass_by_type_code, #locate_typed_stage_by_abbr, #locate_typed_stage_by_harmonized_code, #locate_typed_stage_by_stage_code, #supplement_typed_stages, #typed_stage_index, #typed_stages
Constructor Details
This class inherits a constructor from Pubid::Scheme
Class Method Details
.identifiers ⇒ Object
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# File 'lib/pubid/astm/scheme.rb', line 17
def identifiers
@identifiers ||= [
Identifiers::Standard,
Identifiers::Manual,
Identifiers::ResearchReport,
Identifiers::DataSeries,
Identifiers::TechnicalReport,
Identifiers::Monograph,
Identifiers::Adjunct,
Identifiers::WorkInProgress,
Identifiers::IsoDualPublished,
].freeze
end
|
.locate_identifier_klass_by_type_code(_type_code) ⇒ Object
48
49
50
51
|
# File 'lib/pubid/astm/scheme.rb', line 48
def locate_identifier_klass_by_type_code(_type_code)
raise ArgumentError,
"ASTM identifiers do not use type codes"
end
|
.locate_typed_stage_by_abbr(_abbr) ⇒ Object
43
44
45
46
|
# File 'lib/pubid/astm/scheme.rb', line 43
def locate_typed_stage_by_abbr(_abbr)
raise ArgumentError,
"ASTM identifiers do not use typed stages"
end
|
.supplement_identifiers ⇒ Object
31
32
33
|
# File 'lib/pubid/astm/scheme.rb', line 31
def supplement_identifiers
@supplement_identifiers ||= [].freeze
end
|
.supplement_typed_stages ⇒ Object
39
40
41
|
# File 'lib/pubid/astm/scheme.rb', line 39
def supplement_typed_stages
@supplement_typed_stages ||= [].freeze
end
|
.typed_stages ⇒ Object
35
36
37
|
# File 'lib/pubid/astm/scheme.rb', line 35
def typed_stages
@typed_stages ||= [].freeze
end
|