module CultomePlayer::Player::Playlist

Public Instance Methods

playlist?(name) click to toggle source

(see Playlists#registered?)

# File lib/cultome_player/player/playlist.rb, line 13
def playlist?(name)
  playlists.registered?(name)
end
playlists() click to toggle source

Lazy getter for playlists.

@return [Playlists] The playlists handled by the system.

# File lib/cultome_player/player/playlist.rb, line 8
def playlists
  @playlists ||= Playlists.new
end