Class: Pubid::Asme::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
7
8
9
10
11
|
# File 'lib/pubid/asme/scheme.rb', line 7
def identifiers
@identifiers ||= [
Identifiers::Standard,
].freeze
end
|
.locate_identifier_klass_by_type_code(_type_code) ⇒ Object
30
31
32
33
|
# File 'lib/pubid/asme/scheme.rb', line 30
def locate_identifier_klass_by_type_code(_type_code)
raise ArgumentError,
"ASME identifiers do not use type codes"
end
|
.locate_typed_stage_by_abbr(_abbr) ⇒ Object
25
26
27
28
|
# File 'lib/pubid/asme/scheme.rb', line 25
def locate_typed_stage_by_abbr(_abbr)
raise ArgumentError,
"ASME identifiers do not use typed stages"
end
|
.supplement_identifiers ⇒ Object
13
14
15
|
# File 'lib/pubid/asme/scheme.rb', line 13
def supplement_identifiers
@supplement_identifiers ||= [].freeze
end
|
.supplement_typed_stages ⇒ Object
21
22
23
|
# File 'lib/pubid/asme/scheme.rb', line 21
def supplement_typed_stages
@supplement_typed_stages ||= [].freeze
end
|
.typed_stages ⇒ Object
17
18
19
|
# File 'lib/pubid/asme/scheme.rb', line 17
def typed_stages
@typed_stages ||= [].freeze
end
|