lib/fakeredis/command_executor.rb in fakeredis-0.7.0 vs lib/fakeredis/command_executor.rb in fakeredis-0.8.0
- old
+ new
@@ -13,15 +13,9 @@
reply = send(meffod, *args)
else
raise Redis::CommandError, "ERR unknown command '#{meffod}'"
end
- if reply == true
- reply = 1
- elsif reply == false
- reply = 0
- end
-
replies << reply
nil
end
end
end