# File lib/amq/client/async/adapter.rb, line 246 def send_frame(frame) if closed? raise ConnectionClosedError.new(frame) else self.send_raw(frame.encode) end end