/usr/lib/ruby/vendor_ruby/merb-core/test/test_ext/string.rb is in ruby-merb-core 1.1.3+dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | class String
def contain?(value)
self.include?(value)
end
alias_method :contains?, :contain?
def match?(regex)
self.match(regex)
end
alias_method :matches?, :match?
end
|