Class: Pubid::Cen::Identifier::Amendment
- Defined in:
- lib/pubid/cen/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
get_parser_class, get_transformer_class, transform, transform_supplement
Constructor Details
#initialize(base: nil, **opts) ⇒ Amendment
Returns a new instance of Amendment.
7 8 9 10 |
# File 'lib/pubid/cen/identifier/amendment.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/amendment.rb', line 5 def base @base end |