Class: GitCli::Delta::NewDir
Instance Attribute Summary
Attributes inherited from VCSItem
Instance Method Summary collapse
-
#initialize(path, full) ⇒ NewDir
constructor
A new instance of NewDir.
- #to_s ⇒ Object
Methods inherited from VCSItem
Constructor Details
#initialize(path, full) ⇒ NewDir
Returns a new instance of NewDir.
37 38 39 |
# File 'lib/git_cli/delta.rb', line 37 def initialize(path, full) super(:dir, path, full) end |
Instance Method Details
#to_s ⇒ Object
40 41 42 |
# File 'lib/git_cli/delta.rb', line 40 def to_s "[N] #{@path}" end |