123456789_123456789_123456789_123456789_123456789_

Module: RSpec::Support::Spec::DiffHelpers

Relationships & Source Files
Defined in: rspec-support/lib/rspec/support/spec/diff_helpers.rb

Instance Method Summary

Instance Method Details

#one_line_header(_ = 2)

See additional method definition at line 12.

[ GitHub ]

  
# File 'rspec-support/lib/rspec/support/spec/diff_helpers.rb', line 16

def one_line_header(line_number=2)
  "-1,#{line_number} +1,#{line_number}"
end

#removing_two_line_header

See additional method definition at line 22.

[ GitHub ]

  
# File 'rspec-support/lib/rspec/support/spec/diff_helpers.rb', line 26

def removing_two_line_header
  "-1,3 +1"
end