Sha256: 542a095501c2ca1f554ab7675fb6486f269f1392606b56a7ce77b0c8757c28d0
Contents?: true
Size: 480 Bytes
Versions: 4
Compression:
Stored size: 480 Bytes
Contents
require 'user_agent_parser/parser' require 'user_agent_parser/user_agent' require 'user_agent_parser/version' require 'user_agent_parser/operating_system' require 'user_agent_parser/device' module UserAgentParser DefaultPatternsPath = File.join(File.dirname(__FILE__), "../vendor/uap-core/regexes.yaml") # Parse the given +user_agent_string+, returning a +UserAgent+ def self.parse(user_agent_string, options={}) Parser.new(options).parse(user_agent_string) end end
Version data entries
4 entries across 4 versions & 1 rubygems