Skip to content

Commit

Permalink
Now KEYS will behave the same with 1.2.x and 1.3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Mar 18, 2010
1 parent f6f0194 commit 07579be
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/redis/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ class Client
info[k.to_sym] = v
}
info
},
"keys" => lambda{|r|
if r.is_a?(Array)
r
else
r.split(" ")
end
}
}

Expand Down

0 comments on commit 07579be

Please sign in to comment.