Module: RSpec::Support::Spec::DiffHelpers
Relationships & Source Files | |
Defined in: | rspec-support/lib/rspec/support/spec/diff_helpers.rb |
Instance Method Summary
-
#one_line_header(_ = 2)
See additional method definition at line 12.
-
#removing_two_line_header
See additional method definition at line 22.
Instance Method Details
#one_line_header(_ = 2)
See additional method definition at line 12.
# 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.
# File 'rspec-support/lib/rspec/support/spec/diff_helpers.rb', line 26
def removing_two_line_header "-1,3 +1" end