class Browser::BlackBerry
Public Instance Methods
full_version()
click to toggle source
# File lib/browser/blackberry.rb, line 12 def full_version ua[%r[BlackBerry[\da-z]+/([\d.]+)], 1] || ua[%r[Version/([\d.]+)], 1] || "0.0" end
id()
click to toggle source
# File lib/browser/blackberry.rb, line 4 def id :blackberry end
match?()
click to toggle source
# File lib/browser/blackberry.rb, line 18 def match? ua =~ /BlackBerry|BB10/ end
name()
click to toggle source
# File lib/browser/blackberry.rb, line 8 def name "BlackBerry" end