Sha256: 85a482737139c25b88ea3aa4cfdae15f6dd3a1214f1f308213b6de4941b44cac
Contents?: true
Size: 310 Bytes
Versions: 2
Compression:
Stored size: 310 Bytes
Contents
# frozen_string_literal: true module Browser class MicroMessenger < Base def id :micro_messenger end def name "MicroMessenger" end def full_version ua[%r[(?:MicroMessenger)/([\d.]+)]i, 1] || "0.0" end def match? ua =~ /MicroMessenger/i end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
browser-2.2.0 | lib/browser/micro_messenger.rb |
browser-2.1.0 | lib/browser/micro_messenger.rb |