Class: GitCli::Delta::DeletedFile
- Defined in:
- lib/git_cli/delta.rb
Instance Attribute Summary
Attributes inherited from VCSItem
Instance Method Summary collapse
-
#initialize(path, full) ⇒ DeletedFile
constructor
A new instance of DeletedFile.
- #to_s ⇒ Object
Methods inherited from VCSItem
Constructor Details
#initialize(path, full) ⇒ DeletedFile
Returns a new instance of DeletedFile.
92 93 94 |
# File 'lib/git_cli/delta.rb', line 92 def initialize(path, full) super(:file, path, full) end |
Instance Method Details
#to_s ⇒ Object
95 96 97 |
# File 'lib/git_cli/delta.rb', line 95 def to_s "[D] #{@path}" end |