Sha256: a2f3b2b7e6e2cd7160a01e6f5e76aae59fa0ae3c145637b613c2d4c298a26d63
Contents?: true
Size: 196 Bytes
Versions: 1
Compression:
Stored size: 196 Bytes
Contents
class Browser module Bots BOTS = YAML.load_file(File.expand_path("../../../../bots.yml", __FILE__)) def bot? ua.empty? || BOTS.any? {|key, _| ua.include?(key) } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
browser-0.5.0 | lib/browser/methods/bots.rb |