Class: GitCli::Delta::NewFile
Instance Attribute Summary
Attributes inherited from VCSItem
Instance Method Summary collapse
-
#initialize(path, full) ⇒ NewFile
constructor
A new instance of NewFile.
- #to_s ⇒ Object
Methods inherited from VCSItem
Constructor Details
#initialize(path, full) ⇒ NewFile
Returns a new instance of NewFile.
60 61 62 |
# File 'lib/git_cli/delta.rb', line 60 def initialize(path, full) super(:file, path, full) end |
Instance Method Details
#to_s ⇒ Object
63 64 65 |
# File 'lib/git_cli/delta.rb', line 63 def to_s "[N] #{@path}" end |