Sha256: 78ae1c6570b1bee166e4b5ed942ffbfd10e7da4bfa732200b6883c256ac76495

Contents?: true

Size: 245 Bytes

Versions: 18

Compression:

Stored size: 245 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Device
    class IpodTouch < Base
      def id
        :ipod_touch
      end

      def name
        "iPod Touch"
      end

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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
browser-5.1.0 lib/browser/device/ipod_touch.rb
browser-5.0.0 lib/browser/device/ipod_touch.rb
browser-4.2.0 lib/browser/device/ipod_touch.rb
browser-4.1.0 lib/browser/device/ipod_touch.rb
browser-4.0.0 lib/browser/device/ipod_touch.rb
browser-3.0.3 lib/browser/device/ipod_touch.rb
browser-3.0.2 lib/browser/device/ipod_touch.rb
browser-3.0.1 lib/browser/device/ipod_touch.rb
browser-3.0.0 lib/browser/device/ipod_touch.rb
browser-2.7.1 lib/browser/device/ipod_touch.rb
browser-2.7.0 lib/browser/device/ipod_touch.rb
browser-2.6.1 lib/browser/device/ipod_touch.rb
browser-2.6.0 lib/browser/device/ipod_touch.rb
browser-2.5.3 lib/browser/device/ipod_touch.rb
browser-2.5.2 lib/browser/device/ipod_touch.rb
browser-2.5.1 lib/browser/device/ipod_touch.rb
browser-2.5.0 lib/browser/device/ipod_touch.rb
browser-2.4.0 lib/browser/device/ipod_touch.rb