From 83762febdc47553b4ed666f3ead4e1769ff6be01 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Sat, 1 Aug 2009 14:21:15 -0700 Subject: Alphabetise methods in playlist file. --- libmpd/playlist.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libmpd/playlist.rb') diff --git a/libmpd/playlist.rb b/libmpd/playlist.rb index 2b40ce4..6266e46 100644 --- a/libmpd/playlist.rb +++ b/libmpd/playlist.rb @@ -26,16 +26,16 @@ module MPDPlaylist return send_request(command).scan(/(?!Id: )\d+/).first.to_i end - # Deletes a song from the playlist. - def delete(songpos) - return send_request('delete %s' % songpos) - end - # Clears the playlist. def clear return send_request('clear') end + # Deletes a song from the playlist. + def delete(songpos) + return send_request('delete %s' % songpos) + end + # Returns an Array composed of Hashes containing information about the songs # in the playlist. def playlist -- cgit v1.2.3-70-g09d2