Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from smoak/fix_current_playlist_iteration

Fix undefined local variable or method `a'
  • Loading branch information...
commit 5844c60227be334180bcb81963961f9ffd8caa57 2 parents da482b9 + fc9441c
meh. authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/mpd/controller/current_playlist.rb
2  lib/mpd/controller/current_playlist.rb
View
@@ -105,7 +105,7 @@ def search (pattern, options = { tag: :title, strict: false })
def each
return to_enum unless block_given?
- controller.do(:playlistid).select { |name, value| a == :Id }.each {|name, value|
+ controller.do(:playlistid).select { |name, value| name == :Id }.each {|name, value|
yield Song.new(self, value)
}
Please sign in to comment.
Something went wrong with that request. Please try again.