Parent

Methods

RSpec::Support::HunkGenerator

@private

Public Class Methods

new(actual, expected) click to toggle source
# File lib/rspec/support/hunk_generator.rb, line 8
def initialize(actual, expected)
  @actual = actual
  @expected = expected
end

Public Instance Methods

hunks() click to toggle source
# File lib/rspec/support/hunk_generator.rb, line 13
def hunks
  @file_length_difference = 0
  @hunks ||= diffs.map do |piece|
    build_hunk(piece)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.