Sha256: a5e77407dcdc1537949d0a48180af6a9cf308c12a6d8c9e85cb73a2dd9ba9198

Contents?: true

Size: 227 Bytes

Versions: 7

Compression:

Stored size: 227 Bytes

Contents

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

      def name
        "iPad"
      end

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

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/browser-2.3.0/lib/browser/device/ipad.rb
browser-2.3.0 lib/browser/device/ipad.rb
browser-2.2.0 lib/browser/device/ipad.rb
browser-2.1.0 lib/browser/device/ipad.rb
browser-2.0.3 lib/browser/device/ipad.rb
browser-2.0.2 lib/browser/device/ipad.rb
browser-2.0.1 lib/browser/device/ipad.rb