lib/msgr/connection.rb in msgr-0.5.0 vs lib/msgr/connection.rb in msgr-0.6.0
- old
+ new
@@ -35,9 +35,13 @@
def connection
@connection ||= ::Bunny.new(config).tap { |b| b.start }
end
+ def connect
+ connection
+ end
+
def channel
@channel ||= connection.create_channel
end
def release