Class: Protege::TextPart

Inherits:
Data
  • Object
show all
Defined in:
lib/protege/types/text_part.rb

Overview

One text-typed message part — the general multimodal-content currency shared across the pipeline (providers serialize it, tools and resolvers build it). The text-only common case; its siblings ImagePart and DocumentPart carry the other content kinds.

Instance Attribute Summary collapse

Instance Attribute Details

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



7
8
9
# File 'lib/protege/types/text_part.rb', line 7

def text
  @text
end