Class: Spaceship::Tunes::DeviceType
- Inherits:
-
Object
- Object
- Spaceship::Tunes::DeviceType
- Defined in:
- lib/spaceship/tunes/device_type.rb
Class Attribute Summary collapse
-
.types ⇒ Object
Returns the value of attribute types.
Class Method Summary collapse
Class Attribute Details
.types ⇒ Object
Returns the value of attribute types.
6 7 8 |
# File 'lib/spaceship/tunes/device_type.rb', line 6 def types @types end |
Class Method Details
.exists?(type) ⇒ Boolean
8 9 10 |
# File 'lib/spaceship/tunes/device_type.rb', line 8 def exists?(type) types.include? type end |