Sha256: 9dc9437bf62661284cc23051f4f867bec240cd5b75c009975456c93895f293d0

Contents?: true

Size: 258 Bytes

Versions: 4

Compression:

Stored size: 258 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Facebook < Base
    def id
      :facebook
    end

    def name
      "Facebook"
    end

    def full_version
      ua[%r[FBAV/([\d.]+)], 1]
    end

    def match?
      ua =~ /FBAV/
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
browser-2.5.3 lib/browser/facebook.rb
browser-2.5.2 lib/browser/facebook.rb
browser-2.5.1 lib/browser/facebook.rb
browser-2.5.0 lib/browser/facebook.rb