Sha256: 2da4c0971e266d16d1e548b56533096b7f43cf51b6d9917d829e1b855d71b9cd
Contents?: true
Size: 314 Bytes
Versions: 424
Compression:
Stored size: 314 Bytes
Contents
module Spaceship module Tunes class DeviceType @types = ['iphone4', 'iphone35', 'iphone6', 'iphone6Plus', 'ipad', 'ipadPro', 'watch', 'appleTV', 'desktop'] class << self attr_accessor :types def exists?(type) types.include? type end end end end end
Version data entries
424 entries across 424 versions & 2 rubygems