class Browser::Platform::FirefoxOS

Public Instance Methods

id() click to toggle source
# File lib/browser/platform/firefox_os.rb, line 14
def id
  :firefox_os
end
match?() click to toggle source
# File lib/browser/platform/firefox_os.rb, line 18
def match?
  ua !~ /(Android|Linux|BlackBerry|Windows|Mac)/ && ua.include?("Firefox")
end
name() click to toggle source
# File lib/browser/platform/firefox_os.rb, line 10
def name
  "Firefox OS"
end
version() click to toggle source
# File lib/browser/platform/firefox_os.rb, line 6
def version
  "0"
end