Sha256: 2410ca7e7dba062198ce1f26b24e5ddcbcba08f0871b4a54c6f379eef2ee2103

Contents?: true

Size: 317 Bytes

Versions: 6

Compression:

Stored size: 317 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.match?(/MicroMessenger/i)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
browser-6.2.0 lib/browser/micro_messenger.rb
browser-6.1.0 lib/browser/micro_messenger.rb
browser-6.0.0 lib/browser/micro_messenger.rb
browser-5.3.1 lib/browser/micro_messenger.rb
browser-5.3.0 lib/browser/micro_messenger.rb
browser-5.2.0 lib/browser/micro_messenger.rb