Class: ClaudeCode::TextBlock
- Inherits:
-
Object
- Object
- ClaudeCode::TextBlock
- Defined in:
- lib/claude_code/types.rb
Overview
Content block types
Instance Attribute Summary collapse
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text) ⇒ TextBlock
constructor
A new instance of TextBlock.
Constructor Details
#initialize(text) ⇒ TextBlock
Returns a new instance of TextBlock.
11 12 13 |
# File 'lib/claude_code/types.rb', line 11 def initialize(text) @text = text end |
Instance Attribute Details
#text ⇒ Object (readonly)
Returns the value of attribute text.
9 10 11 |
# File 'lib/claude_code/types.rb', line 9 def text @text end |