Sha256: 9dcf66fef9c3d6fc034457d55e99caedf66a7e89323a37f807a5e24bc485e5e6

Contents?: true

Size: 235 Bytes

Versions: 6

Compression:

Stored size: 235 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Device
    class Ipad < Base
      def id
        :ipad
      end

      def name
        "iPad"
      end

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

Version data entries

6 entries across 6 versions & 1 rubygems

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