lib/liszt/redis_list.rb
# Move the given id to the top of the list.
# @param [Fixnum] id
Move the given id to the top of the list.
Move the given id to the top of the list .
def move_to_top(id)
      redis.multi do
        remove(id)
        unshift!(id)
      end
    end
def move_to_top ( id ) redis . multi do remove ( id ) unshift! ( id ) end end
Move the given id to the top of the list.
Move the given id to the top of the list .
id
<not_specific>
<not_specific>
None