Sha256: a96df243e530ed8cc4e3019454955b685b26d101d5fdde142b7c4d18fce438cc
Contents?: true
Size: 356 Bytes
Versions: 5
Compression:
Stored size: 356 Bytes
Contents
# frozen_string_literal: true module Browser class Device class Surface < Base def id :surface end def name "Microsoft Surface" end def match? platform.windows_rt? && ua.include?("Touch") end private def platform @platform ||= Platform.new(ua) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems