Class: Dyph::TwoWayDiffers::TextNode
- Inherits:
-
Object
- Object
- Dyph::TwoWayDiffers::TextNode
- Defined in:
- lib/dyph/two_way_differs/heckel_diff.rb
Instance Attribute Summary collapse
-
#row ⇒ Object
Returns the value of attribute row.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text:, row:) ⇒ TextNode
constructor
A new instance of TextNode.
Constructor Details
#initialize(text:, row:) ⇒ TextNode
Returns a new instance of TextNode.
109 110 111 112 |
# File 'lib/dyph/two_way_differs/heckel_diff.rb', line 109 def initialize(text:, row:) @text = text @row = row end |
Instance Attribute Details
#row ⇒ Object
Returns the value of attribute row.
107 108 109 |
# File 'lib/dyph/two_way_differs/heckel_diff.rb', line 107 def row @row end |
#text ⇒ Object
Returns the value of attribute text.
107 108 109 |
# File 'lib/dyph/two_way_differs/heckel_diff.rb', line 107 def text @text end |