Class: Pikuri::Workspace::Confirmer::Change
- Inherits:
-
Data
- Object
- Data
- Pikuri::Workspace::Confirmer::Change
- Defined in:
- lib/pikuri/workspace/confirmer.rb
Overview
A structured file change for a Write/Edit confirmation: the
semantic change (path + old bytes + new bytes), not a pre-rendered
string, so diff rendering stays the confirmer's job. Terminal shells
to diff; a richer client renders the same Change its own way. old
is the current bytes, or nil for a new file.
Instance Attribute Summary collapse
-
#new ⇒ Object
readonly
Returns the value of attribute new.
-
#old ⇒ Object
readonly
Returns the value of attribute old.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Attribute Details
#new ⇒ Object (readonly)
Returns the value of attribute new
108 109 110 |
# File 'lib/pikuri/workspace/confirmer.rb', line 108 def new @new end |
#old ⇒ Object (readonly)
Returns the value of attribute old
108 109 110 |
# File 'lib/pikuri/workspace/confirmer.rb', line 108 def old @old end |
#path ⇒ Object (readonly)
Returns the value of attribute path
108 109 110 |
# File 'lib/pikuri/workspace/confirmer.rb', line 108 def path @path end |