lib/oxblood/session.rb in oxblood-0.1.0.dev9 vs lib/oxblood/session.rb in oxblood-0.1.0.dev10
- old
+ new
@@ -13,9 +13,11 @@
# session = Oxblood::Session.new(conn)
# session.ping # => 'PONG'
class Session
include Oxblood::Commands
+ attr_reader :connection
+
def initialize(connection)
@connection = connection
end
private