Class: Pubid::Bsi::Identifier::ExpertCommentary
- Defined in:
- lib/pubid/bsi/identifier/expert_commentary.rb
Instance Attribute Summary collapse
-
#base ⇒ Object
Returns the value of attribute base.
Attributes inherited from Base
#adopted, #month, #pdf, #supplement, #tracked_changes, #translation
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(base: nil, **opts) ⇒ ExpertCommentary
constructor
A new instance of ExpertCommentary.
Methods inherited from Base
get_parser_class, get_transformer_class, transform, transform_collection, transform_expert_commentary, transform_hash, transform_national_annex
Constructor Details
#initialize(base: nil, **opts) ⇒ ExpertCommentary
Returns a new instance of ExpertCommentary.
8 9 10 11 |
# File 'lib/pubid/bsi/identifier/expert_commentary.rb', line 8 def initialize(base: nil, **opts) super(**opts) @base = base end |
Instance Attribute Details
#base ⇒ Object
Returns the value of attribute base.
4 5 6 |
# File 'lib/pubid/bsi/identifier/expert_commentary.rb', line 4 def base @base end |
Class Method Details
.get_renderer_class ⇒ Object
17 18 19 |
# File 'lib/pubid/bsi/identifier/expert_commentary.rb', line 17 def self.get_renderer_class Renderer::ExpertCommentary end |
.type ⇒ Object
13 14 15 |
# File 'lib/pubid/bsi/identifier/expert_commentary.rb', line 13 def self.type { key: :ec, title: "Expert Commentary", short: "ExComm" } end |