Class: GitCli::Delta::ConflictedDir

Inherits:
VCSItem
  • Object
show all
Defined in:
lib/git_cli/delta.rb

Instance Attribute Summary

Attributes inherited from VCSItem

#full, #path, #type

Instance Method Summary collapse

Methods inherited from VCSItem

#<=>, #==

Constructor Details

#initialize(path, full) ⇒ ConflictedDir

Returns a new instance of ConflictedDir.



116
117
118
# File 'lib/git_cli/delta.rb', line 116

def initialize(path, full)
  super(:dir, path, full)
end

Instance Method Details

#to_sObject



119
120
121
# File 'lib/git_cli/delta.rb', line 119

def to_s
  "[C] #{@path}"
end