class String
Public Instance Methods
contain?(value)
click to toggle source
# File lib/merb-core/test/test_ext/string.rb, line 2 def contain?(value) self.include?(value) end
Also aliased as: contains?
match?(regex)
click to toggle source
# File lib/merb-core/test/test_ext/string.rb, line 8 def match?(regex) self.match(regex) end
Also aliased as: matches?