class ACappella::SetList
Public Class Methods
new()
click to toggle source
# File lib/acappella/set_list.rb, line 3 def initialize @songs = [] end
Public Instance Methods
next_song()
click to toggle source
# File lib/acappella/set_list.rb, line 11 def next_song @songs.shift end
request(song)
click to toggle source
# File lib/acappella/set_list.rb, line 7 def request(song) @songs << song end