Class: Rubio::Station
- Inherits:
-
BaseStation
- Object
- Struct
- BaseStation
- Rubio::Station
- Defined in:
- lib/rubio/station.rb
Instance Attribute Summary collapse
-
#playing ⇒ Object
Returns the value of attribute playing.
Attributes inherited from BaseStation
#language, #name, #stationuuid, #url
Instance Method Summary collapse
-
#initialize(*args, **kwargs) ⇒ Station
constructor
A new instance of Station.
- #play ⇒ Object
Constructor Details
#initialize(*args, **kwargs) ⇒ Station
Returns a new instance of Station.
9 10 11 12 |
# File 'lib/rubio/station.rb', line 9 def initialize(*args, **kwargs) super(*args, **kwargs) = false end |
Instance Attribute Details
#playing ⇒ Object
Returns the value of attribute playing.
7 8 9 |
# File 'lib/rubio/station.rb', line 7 def end |
Instance Method Details
#play ⇒ Object
14 15 16 |
# File 'lib/rubio/station.rb', line 14 def play ? '■' : '▶' end |