Module: RSpec::Support::Spec::DiffHelpers
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/diff_helpers.rb
Instance Method Summary collapse
Instance Method Details
#one_line_header(_ = 2) ⇒ Object
10 11 12 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/diff_helpers.rb', line 10 def one_line_header(line_number=2) "-1,#{line_number} +1,#{line_number}" end |
#removing_two_line_header ⇒ Object
20 21 22 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/diff_helpers.rb', line 20 def removing_two_line_header "-1,3 +1" end |