class Fenix::Request
Constants
- BOT_AGENTS
Public Instance Methods
bot?()
click to toggle source
# File lib/fenix/core/request.rb, line 14 def bot? BOT_AGENTS.any? { |bot_agent| user_agent =~ bot_agent } end