Class: ClaudeAgentSDK::HookContext
- Inherits:
-
Object
- Object
- ClaudeAgentSDK::HookContext
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Hook context passed to hook callbacks
Instance Attribute Summary collapse
-
#signal ⇒ Object
Returns the value of attribute signal.
Instance Method Summary collapse
-
#initialize(signal: nil) ⇒ HookContext
constructor
A new instance of HookContext.
Constructor Details
#initialize(signal: nil) ⇒ HookContext
Returns a new instance of HookContext.
293 294 295 |
# File 'lib/claude_agent_sdk/types.rb', line 293 def initialize(signal: nil) @signal = signal end |
Instance Attribute Details
#signal ⇒ Object
Returns the value of attribute signal.
291 292 293 |
# File 'lib/claude_agent_sdk/types.rb', line 291 def signal @signal end |