Class: GitCli::Delta::StagedDir
Instance Attribute Summary
Attributes inherited from VCSItem
Instance Method Summary collapse
-
#initialize(path, full) ⇒ StagedDir
constructor
A new instance of StagedDir.
- #to_s ⇒ Object
Methods inherited from VCSItem
Constructor Details
#initialize(path, full) ⇒ StagedDir
Returns a new instance of StagedDir.
100 101 102 |
# File 'lib/git_cli/delta.rb', line 100 def initialize(path, full) super(:dir, path, full) end |
Instance Method Details
#to_s ⇒ Object
103 104 105 |
# File 'lib/git_cli/delta.rb', line 103 def to_s "[S] #{@path}" end |