Class: Pubid::Cen::Identifier::Corrigendum
- Inherits:
-
Base
- Object
- Pubid::Core::Identifier::Base
- Base
- Pubid::Cen::Identifier::Corrigendum
- Defined in:
- lib/pubid/cen/identifier/corrigendum.rb
Instance Attribute Summary collapse
-
#base ⇒ Object
Returns the value of attribute base.
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(base: nil, **opts) ⇒ Corrigendum
constructor
A new instance of Corrigendum.
Methods inherited from Base
get_parser_class, get_transformer_class, transform, transform_supplement
Constructor Details
#initialize(base: nil, **opts) ⇒ Corrigendum
Returns a new instance of Corrigendum.
7 8 9 10 |
# File 'lib/pubid/cen/identifier/corrigendum.rb', line 7 def initialize(base: nil, **opts) super(**opts) @base = base end |
Instance Attribute Details
#base ⇒ Object
Returns the value of attribute base.
5 6 7 |
# File 'lib/pubid/cen/identifier/corrigendum.rb', line 5 def base @base end |
Class Method Details
.get_renderer_class ⇒ Object
16 17 18 |
# File 'lib/pubid/cen/identifier/corrigendum.rb', line 16 def self.get_renderer_class Renderer::Corrigendum end |
.type ⇒ Object
12 13 14 |
# File 'lib/pubid/cen/identifier/corrigendum.rb', line 12 def self.type { key: :cor, title: "corrigendum" } end |