Class: Protege::TextPart
- Inherits:
-
Data
- Object
- Data
- Protege::TextPart
- 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
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Attribute Details
#text ⇒ Object (readonly)
Returns the value of attribute text
7 8 9 |
# File 'lib/protege/types/text_part.rb', line 7 def text @text end |