module FileScanner::Refinements

Public Instance Methods

matches?(re) click to toggle source
# File lib/file_scanner/refinements.rb, line 4
def matches?(re)
  return match?(re) if defined?("".match?)
  !!match(re)
end