summaryrefslogtreecommitdiff
path: root/libmpd
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-08-01 14:21:15 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-08-01 14:21:15 -0700
commit83762febdc47553b4ed666f3ead4e1769ff6be01 (patch)
tree3ba9133e79e1843594508904d8dfb5932dbbd1b5 /libmpd
parent06d341e4590766ca2cd0770590758d49dde7f7ba (diff)
downloadruby-libmpd-83762febdc47553b4ed666f3ead4e1769ff6be01.tar.gz
ruby-libmpd-83762febdc47553b4ed666f3ead4e1769ff6be01.tar.xz
Alphabetise methods in playlist file.
Diffstat (limited to 'libmpd')
-rw-r--r--libmpd/playlist.rb10
1 files changed, 5 insertions, 5 deletions
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