Class: Anyplayer::Noplayer
- Inherits:
-
Player
- Object
- Player
- Anyplayer::Noplayer
show all
- Defined in:
- lib/anyplayer/players/noplayer.rb
Constant Summary
Constants inherited
from Player
Player::DEFAULT_VOTES_TO_SKIP
Instance Method Summary
collapse
Methods inherited from Player
#initialize, #name, #paused?, #platforms, #playpause, #vote, #votes
Instance Method Details
#album ⇒ Object
38
39
40
|
# File 'lib/anyplayer/players/noplayer.rb', line 38
def album
"Money"
end
|
#artist ⇒ Object
34
35
36
|
# File 'lib/anyplayer/players/noplayer.rb', line 34
def artist
"The Drums"
end
|
#launched? ⇒ Boolean
42
43
44
|
# File 'lib/anyplayer/players/noplayer.rb', line 42
def launched?
true
end
|
#next ⇒ Object
16
17
18
|
# File 'lib/anyplayer/players/noplayer.rb', line 16
def next
super
end
|
#pause ⇒ Object
9
10
|
# File 'lib/anyplayer/players/noplayer.rb', line 9
def pause
end
|
#play ⇒ Object
6
7
|
# File 'lib/anyplayer/players/noplayer.rb', line 6
def play
end
|
#playing? ⇒ Boolean
2
3
4
|
# File 'lib/anyplayer/players/noplayer.rb', line 2
def playing?
true
end
|
#prev ⇒ Object
12
13
14
|
# File 'lib/anyplayer/players/noplayer.rb', line 12
def prev
super
end
|
#track ⇒ Object
30
31
32
|
# File 'lib/anyplayer/players/noplayer.rb', line 30
def track
"Money"
end
|
#voldown ⇒ Object
20
21
|
# File 'lib/anyplayer/players/noplayer.rb', line 20
def voldown
end
|
#volume ⇒ Object
26
27
28
|
# File 'lib/anyplayer/players/noplayer.rb', line 26
def volume
100
end
|
#volup ⇒ Object
23
24
|
# File 'lib/anyplayer/players/noplayer.rb', line 23
def volup
end
|