Sha256: 54fe66e5d661cf6d88ac4298c091723eb96fea6d4e48149bcfaa1e557c10fe82

Contents?: true

Size: 272 Bytes

Versions: 3

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true
module Browser
  class Platform
    class Mac < Base
      def version
        "0"
      end

      def name
        "Macintosh"
      end

      def id
        :mac
      end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
browser-2.0.3 lib/browser/platform/mac.rb
browser-2.0.2 lib/browser/platform/mac.rb
browser-2.0.1 lib/browser/platform/mac.rb