Class: Raif::PromptDiff::Line
- Inherits:
-
Struct
- Object
- Struct
- Raif::PromptDiff::Line
- Defined in:
- lib/raif/prompt_diff.rb
Overview
action: :unchanged, :deleted, :added
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#segments ⇒ Object
Returns the value of attribute segments.
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
13 14 15 |
# File 'lib/raif/prompt_diff.rb', line 13 def action @action end |
#segments ⇒ Object
Returns the value of attribute segments
13 14 15 |
# File 'lib/raif/prompt_diff.rb', line 13 def segments @segments end |