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.
730 731 732 |
# File 'lib/claude_agent_sdk/types.rb', line 730 def initialize(signal: nil) @signal = signal end |
Instance Attribute Details
#signal ⇒ Object
Returns the value of attribute signal.
728 729 730 |
# File 'lib/claude_agent_sdk/types.rb', line 728 def signal @signal end |