# File lib/codec/data.rb, line 402 def get_described raise TypeError, "not a described type" unless self.described? self.enter self.next type = self.type descriptor = type.get(self) self.next type = self.type value = type.get(self) self.exit Qpid::Proton::Types::Described.new(descriptor, value) end