class StringMatcher::Default

Public Class Methods

match?(string, regexp) click to toggle source
# File lib/string_matcher/default.rb, line 3
def self.match?(string, regexp)
  string.include? regexp
end