We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4bc157 commit ca5d561Copy full SHA for ca5d561
lib/kredis/types/list.rb
@@ -20,15 +20,15 @@ def prepend(*elements)
20
return if elements.flatten.empty?
21
22
lpush types_to_strings(elements, typed)
23
- expire_in expires_in if expires_in.present?
+ expire_in expires_in if expires_in
24
elements
25
end
26
27
def append(*elements)
28
29
30
rpush types_to_strings(elements, typed)
31
32
33
34
alias << append
0 commit comments