lib/liszt/redis_list.rb
# Push the given id onto the bottom of the list, if not already present.
# @param [Fixnum] id
# @return [Boolean] <tt>false</tt> if the item was already in the list,
#   <tt>true</tt> otherwise.
Push the given id onto the bottom of the list, if not already present.
Push the given id onto the bottom of the list if not already present .
def push(id)
      if include?(id)
        false
      else
        push!(id)
        true
      end
    end
def push ( id ) if include? ( id ) false else push! ( id ) true end end
Push the given id onto the bottom of the list, if not already present.
Push the given id onto the bottom of the list if not already present .
false if the item was already in the list, true otherwise.
false if the item was already in the list true otherwise .
Boolean
id
<not_specific>
<not_specific>
None