def slice(start: 0, length: -1)
      length = length.to_i
      end_index = length.positive? ? start + length - 1 : length

      return self.connection.lrange(@key, start.to_i, end_index)
    end
def slice(start: 0, length: -1)
      length = length.to_i
      end_index = length.positive? ? start + length - 1 : length

      return self.connection.lrange(@key, start.to_i, end_index)
    end
Returns a slice of the list starting at start (inclusively), up to length (inclusively)
 @example
   pry> list.slice(start: 1, length: 10) #=> Array<...> # array with 11 items
 @param [Integer] start the starting index for the slice; if start is larger than the end of the list, an empty list is returned
 @param [Integer] length the length of the slice (inclusively); if -1, returns everything
 @return [Array<String>] the requested slice, or an empty list