Class: Markdiff::Operations::AddDataBeforeHrefOperation

Inherits:
Base
  • Object
show all
Defined in:
lib/markdiff/operations/add_data_before_href_operation.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#target_node

Instance Method Summary collapse

Methods inherited from Base

#priority

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_hrefObject (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