about summary refs log tree commit homepage
path: root/lib/dtas/tracklist.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-09 07:45:22 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-09 07:45:22 +0000
commit0a2c2084eaca34fb869ee338315e91cbf809212f (patch)
tree402631a9bdfb47ef8c9b67804331191bac44f38c /lib/dtas/tracklist.rb
parent137e36e346a4641850183684ab136fe781af121a (diff)
downloaddtas-0a2c2084eaca34fb869ee338315e91cbf809212f.tar.gz
tracklist: next_track -> advance_track
This is a more accurate depiction of what happens,
and we'll implement "next" and "previous" commands in the future.
Diffstat (limited to 'lib/dtas/tracklist.rb')
-rw-r--r--lib/dtas/tracklist.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/tracklist.rb b/lib/dtas/tracklist.rb
index a51db32..e0b00cb 100644
--- a/lib/dtas/tracklist.rb
+++ b/lib/dtas/tracklist.rb
@@ -65,7 +65,7 @@ class DTAS::Tracklist
     @list.map { |t| t.object_id }
   end
 
-  def next_track(repeat_ok = true)
+  def advance_track(repeat_ok = true)
     return if @list.empty?
     next_pos = @goto_pos || @pos + 1
     @goto_pos = nil