Class: Pubid::Jis::Identifier::Amendment
- Defined in:
- lib/pubid/jis/identifier/amendment.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) ⇒ Amendment
constructor
A new instance of Amendment.
Methods inherited from Base
#==, #all_parts?, get_parser_class, #to_s, transform, transform_explanation, transform_supplements
Constructor Details
#initialize(base: nil, **opts) ⇒ Amendment
Returns a new instance of Amendment.
10 11 12 13 |
# File 'lib/pubid/jis/identifier/amendment.rb', line 10 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/jis/identifier/amendment.rb', line 6 def base @base end |
Class Method Details
.get_renderer_class ⇒ Object
19 20 21 |
# File 'lib/pubid/jis/identifier/amendment.rb', line 19 def self.get_renderer_class Renderer::Amendment end |
.type ⇒ Object
15 16 17 |
# File 'lib/pubid/jis/identifier/amendment.rb', line 15 def self.type { key: :amd, title: "Amendment", short: "AMD" } end |