Class: Pebble::Watch::MediaControlEvent
- Defined in:
- lib/pebble/watch/media_control_event.rb
Constant Summary collapse
- BUTTONS =
{ 1 => :playpause, 4 => :next, 5 => :previous }
Instance Attribute Summary collapse
-
#button ⇒ Object
Returns the value of attribute button.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#button ⇒ Object
Returns the value of attribute button.
4 5 6 |
# File 'lib/pebble/watch/media_control_event.rb', line 4 def @button end |
Class Method Details
Instance Method Details
#inspect ⇒ Object
24 25 26 |
# File 'lib/pebble/watch/media_control_event.rb', line 24 def inspect self..to_s.capitalize end |