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