lib/qless.rb in qless-0.9.1 vs lib/qless.rb in qless-0.9.2

- old
+ new

@@ -151,9 +151,13 @@ @jobs = ClientJobs.new(self) @queues = ClientQueues.new(self) @workers = ClientWorkers.new(self) end + + def inspect + "<Qless::Client #{@options} >" + end def events # Events needs its own redis instance of the same configuration, because # once it's subscribed, we can only use pub-sub-like commands. This way, # we still have access to the client in the normal case