Class: Pubid::Itu::Identifier::Annex
- Inherits:
-
Supplement
- Object
- Core::Identifier::Base
- Base
- Supplement
- Pubid::Itu::Identifier::Annex
- Defined in:
- lib/pubid/itu/identifier/annex.rb
Instance Attribute Summary collapse
-
#base ⇒ Object
Returns the value of attribute base.
Attributes inherited from Base
#amendment, #annex, #date, #range, #second_number, #sector, #series, #subseries
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(base: nil, **opts) ⇒ Annex
constructor
A new instance of Annex.
Methods inherited from Supplement
Methods inherited from Base
get_parser_class, get_renderer_class, get_transformer_class, has_type?, #to_s, transform, transform_supplements
Constructor Details
#initialize(base: nil, **opts) ⇒ Annex
Returns a new instance of Annex.
8 9 10 11 |
# File 'lib/pubid/itu/identifier/annex.rb', line 8 def initialize(base: nil, **opts) super(**opts) @base = base end |
Instance Attribute Details
#base ⇒ Object
Returns the value of attribute base.
6 7 8 |
# File 'lib/pubid/itu/identifier/annex.rb', line 6 def base @base end |
Class Method Details
.type ⇒ Object
13 14 15 |
# File 'lib/pubid/itu/identifier/annex.rb', line 13 def self.type { key: :annex, title: "Annex" } end |