Class: GitDiffParser::DiffParser Deprecated
- Inherits:
-
Object
- Object
- GitDiffParser::DiffParser
- Defined in:
- lib/git_diff_parser/diff_parser.rb
Overview
Deprecated.
Parse entire ‘git diff` into Patches and Patch
Class Method Summary collapse
-
.parse(contents) ⇒ Patches<Patch>
deprecated
Deprecated.
Use Patches.parse instead.
Class Method Details
.parse(contents) ⇒ Patches<Patch>
Deprecated.
Use Patches.parse instead.
Parse entire ‘git diff` into Patches and Patch
13 14 15 16 |
# File 'lib/git_diff_parser/diff_parser.rb', line 13 def self.parse(contents) warn '[DEPRECATION] `DiffParser.parse` is deprecated. Please use `Patches.parse` instead.' Patches.parse(contents) end |