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