Class: Playa::ProgressView
- Inherits:
-
Object
- Object
- Playa::ProgressView
- Includes:
- Helpers, Vedeu
- Defined in:
- lib/playa/views/progress_view.rb
Instance Method Summary collapse
-
#initialize(player) ⇒ ProgressView
constructor
A new instance of ProgressView.
- #show ⇒ Object
Methods included from Helpers
Constructor Details
#initialize(player) ⇒ ProgressView
Returns a new instance of ProgressView.
6 7 8 |
# File 'lib/playa/views/progress_view.rb', line 6 def initialize(player) @player = player end |
Instance Method Details
#show ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/playa/views/progress_view.rb', line 10 def show if player.track track_loaded else no_track_loaded end end |