Class: ClaudeAgentSDK::WorktreeRemoveHookInput

Inherits:
BaseHookInput show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

WorktreeRemove hook input

Instance Attribute Summary collapse

Attributes inherited from BaseHookInput

#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path

Instance Method Summary collapse

Methods inherited from Type

#[], #[]=, from_hash, #to_h, wrap

Constructor Details

#initialize(attributes = {}) ⇒ WorktreeRemoveHookInput

Returns a new instance of WorktreeRemoveHookInput.



794
795
796
797
# File 'lib/claude_agent_sdk/types.rb', line 794

def initialize(attributes = {})
  super
  @hook_event_name = 'WorktreeRemove'
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type

Instance Attribute Details

#worktree_pathObject

Returns the value of attribute worktree_path.



792
793
794
# File 'lib/claude_agent_sdk/types.rb', line 792

def worktree_path
  @worktree_path
end