File: formatting_support.rb

package info (click to toggle)
ruby-rspec 3.8.0c0e1m0s0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,640 kB
  • sloc: ruby: 65,844; sh: 807; makefile: 99
file content (9 lines) | stat: -rw-r--r-- 152 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
module RSpec
  module Support
    module FormattingSupport
      def dedent(string)
        string.gsub(/^\s+\|/, '').chomp
      end
    end
  end
end