lib/async/redis/context/nested.rb in async-redis-0.2.0 vs lib/async/redis/context/nested.rb in async-redis-0.3.0
- old
+ new
@@ -1,7 +1,7 @@
# Copyright, 2018, by Samuel G. D. Williams. <http://www.codeotaku.com>
-# and Huba Nagy
+# Copyright, 2018, by Huba Nagy.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@@ -33,10 +33,10 @@
@pool.release(@connection)
@connection = nil
end
end
- def send_command(command, *args)
+ def call(command, *args)
@connection.write_request([command, *args])
return @connection.read_response
end
end
end