Module: UserAgentParser
- Defined in:
- lib/user_agent_parser.rb,
lib/user_agent_parser/cli.rb,
lib/user_agent_parser/device.rb,
lib/user_agent_parser/parser.rb,
lib/user_agent_parser/version.rb,
lib/user_agent_parser/user_agent.rb,
lib/user_agent_parser/operating_system.rb
Defined Under Namespace
Classes: Cli, Device, OperatingSystem, Parser, UserAgent, Version
Constant Summary collapse
- DefaultPatternsPath =
File.join(File.dirname(__FILE__), '../vendor/uap-core/regexes.yaml')
Class Method Summary collapse
-
.parse(user_agent_string, **args) ⇒ Object
Parse the given
user_agent_string
, returning aUserAgent
.