Class: GitCli::Delta::DeletedDir

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) ⇒ DeletedDir

Returns a new instance of DeletedDir.



81
82
83
# File 'lib/git_cli/delta.rb', line 81

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

Instance Method Details

#to_sObject



84
85
86
# File 'lib/git_cli/delta.rb', line 84

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