Class: Pubid::Bsi::Identifier::ExpertCommentary

Inherits:
Base
  • Object
show all
Defined in:
lib/pubid/bsi/identifier/expert_commentary.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#adopted, #month, #pdf, #supplement, #tracked_changes, #translation

Class Method Summary collapse

Instance Method Summary collapse

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

#baseObject

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_classObject



17
18
19
# File 'lib/pubid/bsi/identifier/expert_commentary.rb', line 17

def self.get_renderer_class
  Renderer::ExpertCommentary
end

.typeObject



13
14
15
# File 'lib/pubid/bsi/identifier/expert_commentary.rb', line 13

def self.type
  { key: :ec, title: "Expert Commentary", short: "ExComm" }
end