Class: ClaudeCodeSDK::ThinkingMessage
- Defined in:
- lib/claude_code_sdk/messages.rb
Overview
Thinking message (Claude's internal reasoning)
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(id:, content:) ⇒ ThinkingMessage
constructor
A new instance of ThinkingMessage.
Constructor Details
#initialize(id:, content:) ⇒ ThinkingMessage
Returns a new instance of ThinkingMessage.
62 63 64 65 |
# File 'lib/claude_code_sdk/messages.rb', line 62 def initialize(id:, content:) super(id: id, type: "thinking") @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
60 61 62 |
# File 'lib/claude_code_sdk/messages.rb', line 60 def content @content end |