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.
262 263 264 |
# File 'lib/claude_agent_sdk/types.rb', line 262 def initialize(signal: nil) @signal = signal end |
Instance Attribute Details
#signal ⇒ Object
Returns the value of attribute signal.
260 261 262 |
# File 'lib/claude_agent_sdk/types.rb', line 260 def signal @signal end |