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