class

Anthropic::Text

Inherits Anthropic::TextOrImageContent < Anthropic::MessageContent < JSON::Serializable < Anthropic::Resource < Reference < Object

Constructors

new(text : String, *, cache_control = nil)
Source

Instance methods

text
Source
to_s(io) : Nil
Source
type
Source