Class: ClaudeAgentSDK::CwdChangedHookInput
- Inherits:
-
BaseHookInput
- Object
- Type
- BaseHookInput
- ClaudeAgentSDK::CwdChangedHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
CwdChanged hook input
Instance Attribute Summary collapse
-
#new_cwd ⇒ Object
Returns the value of attribute new_cwd.
-
#old_cwd ⇒ Object
Returns the value of attribute old_cwd.
Attributes inherited from BaseHookInput
#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ CwdChangedHookInput
constructor
A new instance of CwdChangedHookInput.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ CwdChangedHookInput
Returns a new instance of CwdChangedHookInput.
834 835 836 837 |
# File 'lib/claude_agent_sdk/types.rb', line 834 def initialize(attributes = {}) super @hook_event_name = 'CwdChanged' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#new_cwd ⇒ Object
Returns the value of attribute new_cwd.
832 833 834 |
# File 'lib/claude_agent_sdk/types.rb', line 832 def new_cwd @new_cwd end |
#old_cwd ⇒ Object
Returns the value of attribute old_cwd.
832 833 834 |
# File 'lib/claude_agent_sdk/types.rb', line 832 def old_cwd @old_cwd end |