Class: GitCli::Delta::ModifiedDir
- Defined in:
- lib/git_cli/delta.rb
Instance Attribute Summary
Attributes inherited from VCSItem
Instance Method Summary collapse
-
#initialize(path, full) ⇒ ModifiedDir
constructor
A new instance of ModifiedDir.
- #to_s ⇒ Object
Methods inherited from VCSItem
Constructor Details
#initialize(path, full) ⇒ ModifiedDir
Returns a new instance of ModifiedDir.
68 69 70 |
# File 'lib/git_cli/delta.rb', line 68 def initialize(path, full) super(:dir, path, full) end |
Instance Method Details
#to_s ⇒ Object
71 72 73 |
# File 'lib/git_cli/delta.rb', line 71 def to_s "[M] #{@path}" end |