Class: GitCli::Delta::ConflictedFile
- Defined in:
- lib/git_cli/delta.rb
Instance Attribute Summary
Attributes inherited from VCSItem
Instance Method Summary collapse
-
#initialize(path, full) ⇒ ConflictedFile
constructor
A new instance of ConflictedFile.
- #to_s ⇒ Object
Methods inherited from VCSItem
Constructor Details
#initialize(path, full) ⇒ ConflictedFile
Returns a new instance of ConflictedFile.
124 125 126 |
# File 'lib/git_cli/delta.rb', line 124 def initialize(path, full) super(:file, path, full) end |
Instance Method Details
#to_s ⇒ Object
127 128 129 |
# File 'lib/git_cli/delta.rb', line 127 def to_s "[C] #{@path}" end |