Sha256: 48d9394ffbd969c1a48193137209a630ff2e1204ff3aba6b4cd8bda4af0b2d5a

Contents?: true

Size: 321 Bytes

Versions: 6

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Platform
    class AdobeAir < Base
      def match?
        ua.include?("AdobeAIR")
      end

      def version
        ua[%r{AdobeAIR/([\d.]+)}, 1]
      end

      def name
        "Adobe AIR"
      end

      def id
        :adobe_air
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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