Class: Pubid::Bsi::Identifier::NationalAnnex
- Defined in:
- lib/pubid/bsi/identifier/national_annex.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) ⇒ NationalAnnex
constructor
A new instance of NationalAnnex.
Methods inherited from Base
get_parser_class, get_transformer_class, transform, transform_expert_commentary, transform_hash, transform_national_annex
Constructor Details
#initialize(base: nil, **opts) ⇒ NationalAnnex
Returns a new instance of NationalAnnex.
8 9 10 11 12 |
# File 'lib/pubid/bsi/identifier/national_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.
4 5 6 |
# File 'lib/pubid/bsi/identifier/national_annex.rb', line 4 def base @base end |
Class Method Details
.get_renderer_class ⇒ Object
18 19 20 |
# File 'lib/pubid/bsi/identifier/national_annex.rb', line 18 def self.get_renderer_class Renderer::NationalAnnex end |
.type ⇒ Object
14 15 16 |
# File 'lib/pubid/bsi/identifier/national_annex.rb', line 14 def self.type { key: :na, title: "National Annex", short: "NA" } end |