module UserAgentParser
Constants
- DefaultPatternsPath
Public Class Methods
parse(user_agent_string, options = {})
click to toggle source
Parse the given user_agent_string
, returning a UserAgent
# File lib/user_agent_parser.rb, line 13 def self.parse(user_agent_string, options = {}) Parser.new(options).parse(user_agent_string) end