lib/oxblood/pipeline.rb in oxblood-0.1.0.dev9 vs lib/oxblood/pipeline.rb in oxblood-0.1.0.dev10
- old
+ new
@@ -14,9 +14,11 @@
# pipeline.echo('!')
# pipeline.sync # => ["ping", "PONG", "!"]
class Pipeline
include Oxblood::Commands
+ attr_reader :connection
+
def initialize(connection)
@connection = connection
@commands = Array.new
end