Class: Moc::Protocol::State
Class Method Summary collapse
Methods inherited from Symbol
#==, #initialize, #inspect, #pack, read, #to_i, #to_s, #to_sym
Methods included from Type
Constructor Details
This class inherits a constructor from Moc::Protocol::Symbol
Class Method Details
.codes ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/moc/protocol/state.rb', line 14 def self.codes @codes ||= { PLAY: 0x01, STOP: 0x02, PAUSE: 0x03 } end |