Sha256: 007f242c62c8304c12216dc8d04dd1d5ec7352510f551f4e6fa86aa146313092
Contents?: true
Size: 165 Bytes
Versions: 2
Compression:
Stored size: 165 Bytes
Contents
module FayeRails module Matcher def self.match?(pattern, value) return false if value.include? "\0" File.fnmatch? pattern, value end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
faye-rails-2.0.3 | lib/faye-rails/matcher.rb |
faye-rails-2.0.1 | lib/faye-rails/matcher.rb |