Class: Raif::PromptDiff::Segment

Inherits:
Struct
  • Object
show all
Defined in:
lib/raif/prompt_diff.rb

Instance Attribute Summary collapse

Instance Attribute Details

#changed ⇒ Object

Returns the value of attribute changed

Returns:

  • (Object) —

    the current value of changed



14
15
16
# File 'lib/raif/prompt_diff.rb', line 14

def changed
  @changed
end

#text ⇒ Object

Returns the value of attribute text

Returns:

  • (Object) —

    the current value of text



14
15
16
# File 'lib/raif/prompt_diff.rb', line 14

def text
  @text
end