Module: CrawlerDetect
- Defined in:
- lib/crawler_detect/library/crawlers.rb,
lib/crawler_detect.rb,
lib/crawler_detect/library.rb,
lib/crawler_detect/version.rb,
lib/crawler_detect/detector.rb,
lib/crawler_detect/library/headers.rb,
lib/crawler_detect/library/exclusions.rb
Overview
rubocop:disable Layout/TrailingWhitespace
Defined Under Namespace
Modules: Library Classes: Detector
Constant Summary collapse
- VERSION =
"0.1.11"
Class Method Summary collapse
Class Method Details
.is_crawler?(user_agent) ⇒ Boolean
18 19 20 |
# File 'lib/crawler_detect.rb', line 18 def is_crawler?(user_agent) detector(user_agent).is_crawler? end |
.new(user_agent) ⇒ Object
14 15 16 |
# File 'lib/crawler_detect.rb', line 14 def new(user_agent) detector(user_agent) end |