# File lib/core/link.rb, line 200 def self.wrap(impl) return unless impl return fetch_instance(impl, :pn_link_attachments) || (Cproton.pn_link_is_sender(impl) ? Sender : Receiver).new(impl) end