Sha256: 2313fad21c0b70c4e713da3cd9d3b51b3a6c5a2060276939e3d6f0ab435b4303
Contents?: true
Size: 281 Bytes
Versions: 10
Compression:
Stored size: 281 Bytes
Contents
# frozen_string_literal: true module Browser class PhantomJS < Base def id :phantom_js end def name "PhantomJS" end def full_version ua[%r{PhantomJS/([\d.]+)}, 1] || "0.0" end def match? ua =~ /PhantomJS/ end end end
Version data entries
10 entries across 10 versions & 1 rubygems