Sha256: 5d3b41e0ad51e460f5100d72d914257b5241d1bf378ba0af486ec5d8f9032c69
Contents?: true
Size: 290 Bytes
Versions: 5
Compression:
Stored size: 290 Bytes
Contents
# frozen_string_literal: true module Browser class Electron < Base def id :electron end def name "Electron" end def full_version ua[%r{Electron/([\d.]+)}, 1] || "0.0" end def match? ua.include?("Electron") end end end
Version data entries
5 entries across 5 versions & 1 rubygems