class Browser::HuaweiBrowser

Public Instance Methods

full_version() click to toggle source
# File lib/browser/huawei_browser.rb, line 13
def full_version
  ua[%r{(?:HuaweiBrowser)/([\d.]+)}i, 1] || "0.0"
end
id() click to toggle source
# File lib/browser/huawei_browser.rb, line 5
def id
  :huawei_browser
end
match?() click to toggle source
# File lib/browser/huawei_browser.rb, line 17
def match?
  ua.match?(/HuaweiBrowser/i)
end
name() click to toggle source
# File lib/browser/huawei_browser.rb, line 9
def name
  "Huawei Browser"
end