Sha256: c08a892309fd66bc5491d8dd74d21bd3f83a7129b00fac925e7a8750a6d04cc3

Contents?: true

Size: 287 Bytes

Versions: 6

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Snapchat < Base
    def id
      :snapchat
    end

    def name
      "Snapchat"
    end

    def full_version
      ua[%r{Snapchat( ?|/)([\d.]+)}, 2] || "0.0"
    end

    def match?
      ua.include?("Snapchat")
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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