module FayeRails::Matcher
Public Class Methods
match?(pattern, value)
click to toggle source
# File lib/faye-rails/matcher.rb, line 3 def self.match?(pattern, value) return false if value.include? "\0" File.fnmatch? pattern, value end