Sha256: 5364cdd63f8223df47a6cb1e830af98d424b7ba6e2cabd9a72966ce8f5f0caab

Contents?: true

Size: 312 Bytes

Versions: 10

Compression:

Stored size: 312 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

10 entries across 10 versions & 1 rubygems

Version Path
browser-5.1.0 lib/browser/micro_messenger.rb
browser-5.0.0 lib/browser/micro_messenger.rb
browser-4.2.0 lib/browser/micro_messenger.rb
browser-4.1.0 lib/browser/micro_messenger.rb
browser-4.0.0 lib/browser/micro_messenger.rb
browser-3.0.3 lib/browser/micro_messenger.rb
browser-3.0.2 lib/browser/micro_messenger.rb
browser-3.0.1 lib/browser/micro_messenger.rb
browser-3.0.0 lib/browser/micro_messenger.rb
browser-2.7.1 lib/browser/micro_messenger.rb