Class: ClaudeAgentSDK::HookMatcher
- Inherits:
-
Object
- Object
- ClaudeAgentSDK::HookMatcher
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Hook matcher configuration
Instance Attribute Summary collapse
-
#hooks ⇒ Object
Returns the value of attribute hooks.
-
#matcher ⇒ Object
Returns the value of attribute matcher.
Instance Method Summary collapse
-
#initialize(matcher: nil, hooks: []) ⇒ HookMatcher
constructor
A new instance of HookMatcher.
Constructor Details
#initialize(matcher: nil, hooks: []) ⇒ HookMatcher
Returns a new instance of HookMatcher.
206 207 208 209 |
# File 'lib/claude_agent_sdk/types.rb', line 206 def initialize(matcher: nil, hooks: []) @matcher = matcher @hooks = hooks end |
Instance Attribute Details
#hooks ⇒ Object
Returns the value of attribute hooks.
204 205 206 |
# File 'lib/claude_agent_sdk/types.rb', line 204 def hooks @hooks end |
#matcher ⇒ Object
Returns the value of attribute matcher.
204 205 206 |
# File 'lib/claude_agent_sdk/types.rb', line 204 def matcher @matcher end |