# File lib/reactor/task.rb, line 27 def self.wrap(impl) return nil if impl.nil? self.fetch_instance(impl, :pn_task_attachments) || Task.new(impl) end