Class: ClaudeAgentSDK::InstructionsLoadedHookInput

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

Overview

InstructionsLoaded 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 = {}) ⇒ 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_pathObject

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

#globsObject

Returns the value of attribute globs.



822
823
824
# File 'lib/claude_agent_sdk/types.rb', line 822

def globs
  @globs
end

#load_reasonObject

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_typeObject

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_pathObject

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