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.



69
70
71
# File 'lib/git_cli/delta.rb', line 69

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

Instance Method Details

#to_sObject



72
73
74
# File 'lib/git_cli/delta.rb', line 72

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