Sha256: c5cb6412f9ec51a1f64a4d7ffd56c502042bd43160f94db53196cedb814c50bf
Contents?: true
Size: 283 Bytes
Versions: 15
Compression:
Stored size: 283 Bytes
Contents
class ::RSpec::Matchers::BuiltIn::All def indent_multiline_message(message) # \z not supported in opal #message = message.sub(/\n+\z/, '') message = message.sub(/\n+$/, '') message.lines.map do |line| line =~ /\S/ ? ' ' + line : line end.join end end
Version data entries
15 entries across 15 versions & 2 rubygems