Skip to content

Commit

Permalink
Fix undefined local variable or method `a'
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Moak committed Mar 15, 2013
1 parent ca8d3bf commit fc9441c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mpd/controller/current_playlist.rb
Expand Up @@ -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)
}

Expand Down

0 comments on commit fc9441c

Please sign in to comment.