class Browser::Firefox
Public Instance Methods
full_version()
click to toggle source
# File lib/browser/firefox.rb, line 12 def full_version ua[%r[(?:Firefox|FxiOS)/([\d.]+)], 1] || "0.0" end
id()
click to toggle source
# File lib/browser/firefox.rb, line 4 def id :firefox end
match?()
click to toggle source
# File lib/browser/firefox.rb, line 16 def match? ua =~ /Firefox|FxiOS/ end
name()
click to toggle source
# File lib/browser/firefox.rb, line 8 def name "Firefox" end