class Browser::PhantomJS
Public Instance Methods
full_version()
click to toggle source
# File lib/browser/phantom_js.rb, line 13 def full_version ua[%r{PhantomJS/([\d.]+)}, 1] || "0.0" end
id()
click to toggle source
# File lib/browser/phantom_js.rb, line 5 def id :phantom_js end
match?()
click to toggle source
# File lib/browser/phantom_js.rb, line 17 def match? ua.include?("PhantomJS") end
name()
click to toggle source
# File lib/browser/phantom_js.rb, line 9 def name "PhantomJS" end