Sha256: 10efcb497f7525012ebb643ee4fc12e764a359d92f40aa8b099a7b571033d3c5

Contents?: true

Size: 242 Bytes

Versions: 7

Compression:

Stored size: 242 Bytes

Contents

# frozen_string_literal: true
module Browser
  class Device
    class Wii < Base
      def id
        :wii
      end

      def name
        "Nintendo Wii"
      end

      def match?
        ua =~ /Nintendo Wii/i
      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/wii.rb
browser-2.3.0 lib/browser/device/wii.rb
browser-2.2.0 lib/browser/device/wii.rb
browser-2.1.0 lib/browser/device/wii.rb
browser-2.0.3 lib/browser/device/wii.rb
browser-2.0.2 lib/browser/device/wii.rb
browser-2.0.1 lib/browser/device/wii.rb