Class: ClaudeAgentSDK::InstructionsLoadedHookInput
- Inherits:
-
BaseHookInput
- Object
- Type
- BaseHookInput
- ClaudeAgentSDK::InstructionsLoadedHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
InstructionsLoaded hook input
Instance Attribute Summary collapse
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#globs ⇒ Object
Returns the value of attribute globs.
-
#load_reason ⇒ Object
Returns the value of attribute load_reason.
-
#memory_type ⇒ Object
Returns the value of attribute memory_type.
-
#trigger_file_path ⇒ Object
Returns the value of attribute trigger_file_path.
Attributes inherited from BaseHookInput
#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ InstructionsLoadedHookInput
constructor
A new instance of InstructionsLoadedHookInput.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ InstructionsLoadedHookInput
Returns a new instance of InstructionsLoadedHookInput.
824 825 826 827 |
# File 'lib/claude_agent_sdk/types.rb', line 824 def initialize(attributes = {}) super @hook_event_name = 'InstructionsLoaded' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#file_path ⇒ Object
Returns the value of attribute file_path.
822 823 824 |
# File 'lib/claude_agent_sdk/types.rb', line 822 def file_path @file_path end |
#globs ⇒ Object
Returns the value of attribute globs.
822 823 824 |
# File 'lib/claude_agent_sdk/types.rb', line 822 def globs @globs end |
#load_reason ⇒ Object
Returns the value of attribute load_reason.
822 823 824 |
# File 'lib/claude_agent_sdk/types.rb', line 822 def load_reason @load_reason end |
#memory_type ⇒ Object
Returns the value of attribute memory_type.
822 823 824 |
# File 'lib/claude_agent_sdk/types.rb', line 822 def memory_type @memory_type end |
#trigger_file_path ⇒ Object
Returns the value of attribute trigger_file_path.
822 823 824 |
# File 'lib/claude_agent_sdk/types.rb', line 822 def trigger_file_path @trigger_file_path end |