GitDiffParser::Patches
Inherits Enumerable < Reference < Object
The array of patch
Constructors
Class methods
parse(contents)
@param contents [String] git diff result
@return [Patches<Patch>] parsed object
Instance methods
find_patch_by_secure_hash(secure_hash)
@param secure_hash [String] target sha1 hash
@return [Patch, nil]
to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.