Class: Markdiff::Operations::AddDataBeforeHrefOperation
- Defined in:
- lib/markdiff/operations/add_data_before_href_operation.rb
Instance Attribute Summary collapse
-
#after_href ⇒ Object
readonly
Returns the value of attribute after_href.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(after_href:, **args) ⇒ AddDataBeforeHrefOperation
constructor
A new instance of AddDataBeforeHrefOperation.
Methods inherited from Base
Constructor Details
#initialize(after_href:, **args) ⇒ AddDataBeforeHrefOperation
Returns a new instance of AddDataBeforeHrefOperation.
8 9 10 11 |
# File 'lib/markdiff/operations/add_data_before_href_operation.rb', line 8 def initialize(after_href:, **args) super(**args) @after_href = after_href end |
Instance Attribute Details
#after_href ⇒ Object (readonly)
Returns the value of attribute after_href.
6 7 8 |
# File 'lib/markdiff/operations/add_data_before_href_operation.rb', line 6 def after_href @after_href end |