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?
contains?(value)
Alias for: contain?
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?
matches?(regex)
Alias for: match?