Class: 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.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ HookMatcher
constructor
A new instance of HookMatcher.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ HookMatcher
Returns a new instance of HookMatcher.
558 559 560 561 |
# File 'lib/claude_agent_sdk/types.rb', line 558 def initialize(attributes = {}) super @hooks ||= [] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#hooks ⇒ Object
Returns the value of attribute hooks.
556 557 558 |
# File 'lib/claude_agent_sdk/types.rb', line 556 def hooks @hooks end |
#matcher ⇒ Object
Returns the value of attribute matcher.
556 557 558 |
# File 'lib/claude_agent_sdk/types.rb', line 556 def matcher @matcher end |
#timeout ⇒ Object
Returns the value of attribute timeout.
556 557 558 |
# File 'lib/claude_agent_sdk/types.rb', line 556 def timeout @timeout end |