Class: GitCli::Delta::ModifiedFile
- Defined in:
- lib/git_cli/delta.rb
Instance Attribute Summary
Attributes inherited from VCSItem
Instance Method Summary collapse
-
#initialize(path, full) ⇒ ModifiedFile
constructor
A new instance of ModifiedFile.
- #to_s ⇒ Object
Methods inherited from VCSItem
Constructor Details
#initialize(path, full) ⇒ ModifiedFile
Returns a new instance of ModifiedFile.
76 77 78 |
# File 'lib/git_cli/delta.rb', line 76 def initialize(path, full) super(:file, path, full) end |
Instance Method Details
#to_s ⇒ Object
79 80 81 |
# File 'lib/git_cli/delta.rb', line 79 def to_s "[M] #{@path}" end |