Class: Linguist::Source::Diff
- Inherits:
-
Object
- Object
- Linguist::Source::Diff
- Defined in:
- lib/linguist/source/diff.rb
Overview
Diff is an interface representing a diff between two trees. It is composed of a collection of iterable deltas between before/after states of files.
Direct Known Subclasses
Defined Under Namespace
Classes: Delta
Instance Method Summary collapse
-
#each_delta ⇒ Object
Public: iterate through each delta of the given diff.
Instance Method Details
#each_delta ⇒ Object
Public: iterate through each delta of the given diff. Yields a single delta to the given block.
Returns nothing.
67 68 69 |
# File 'lib/linguist/source/diff.rb', line 67 def each_delta raise NotImplementedError end |