123456789_123456789_123456789_123456789_123456789_

Module: RSpec::Support::FormattingSupport

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

Instance Method Summary

Instance Method Details

#dedent(string)

[ GitHub ]

  
# File 'rspec-support/lib/rspec/support/spec/formatting_support.rb', line 6

def dedent(string)
  string.gsub(/^\s+\|/, '').chomp
end