Class: Dandelion::FullDiff
- Inherits:
-
Object
- Object
- Dandelion::FullDiff
- Defined in:
- lib/dandelion/diff.rb
Instance Method Summary collapse
- #each ⇒ Object
- #empty? ⇒ Boolean
-
#initialize(diff) ⇒ FullDiff
constructor
A new instance of FullDiff.
Constructor Details
#initialize(diff) ⇒ FullDiff
Returns a new instance of FullDiff.
48 49 50 51 52 53 54 |
# File 'lib/dandelion/diff.rb', line 48 def initialize(diff) @deltas = [] diff.each_patch do |patch| @deltas << patch.delta end end |