Class: OllamaAgent::Topology::IR::CallbackNode
- Inherits:
-
Data
- Object
- Data
- OllamaAgent::Topology::IR::CallbackNode
- Defined in:
- lib/ollama_agent/topology/ir/callback_node.rb
Instance Attribute Summary collapse
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#method_name ⇒ Object
readonly
Returns the value of attribute method_name.
-
#origin_extractor_version ⇒ Object
readonly
Returns the value of attribute origin_extractor_version.
-
#owner_fqcn ⇒ Object
readonly
Returns the value of attribute owner_fqcn.
-
#phase ⇒ Object
readonly
Returns the value of attribute phase.
-
#source_line ⇒ Object
readonly
Returns the value of attribute source_line.
-
#source_path ⇒ Object
readonly
Returns the value of attribute source_path.
Class Method Summary collapse
-
.build(source_path:, source_line:, origin_extractor_version:, owner_fqcn:, phase:, method_name:) ⇒ Object
rubocop:disable Metrics/ParameterLists.
Instance Attribute Details
#kind ⇒ Object (readonly)
Returns the value of attribute kind
6 7 8 |
# File 'lib/ollama_agent/topology/ir/callback_node.rb', line 6 def kind @kind end |
#method_name ⇒ Object (readonly)
Returns the value of attribute method_name
6 7 8 |
# File 'lib/ollama_agent/topology/ir/callback_node.rb', line 6 def method_name @method_name end |
#origin_extractor_version ⇒ Object (readonly)
Returns the value of attribute origin_extractor_version
6 7 8 |
# File 'lib/ollama_agent/topology/ir/callback_node.rb', line 6 def origin_extractor_version @origin_extractor_version end |
#owner_fqcn ⇒ Object (readonly)
Returns the value of attribute owner_fqcn
6 7 8 |
# File 'lib/ollama_agent/topology/ir/callback_node.rb', line 6 def owner_fqcn @owner_fqcn end |
#phase ⇒ Object (readonly)
Returns the value of attribute phase
6 7 8 |
# File 'lib/ollama_agent/topology/ir/callback_node.rb', line 6 def phase @phase end |
#source_line ⇒ Object (readonly)
Returns the value of attribute source_line
6 7 8 |
# File 'lib/ollama_agent/topology/ir/callback_node.rb', line 6 def source_line @source_line end |
#source_path ⇒ Object (readonly)
Returns the value of attribute source_path
6 7 8 |
# File 'lib/ollama_agent/topology/ir/callback_node.rb', line 6 def source_path @source_path end |
Class Method Details
.build(source_path:, source_line:, origin_extractor_version:, owner_fqcn:, phase:, method_name:) ⇒ Object
rubocop:disable Metrics/ParameterLists
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/ollama_agent/topology/ir/callback_node.rb', line 16 def self.build( source_path:, source_line:, origin_extractor_version:, owner_fqcn:, phase:, method_name: ) # rubocop:enable Metrics/ParameterLists new( :callback, source_path.to_s, Integer(source_line), origin_extractor_version.to_s, owner_fqcn.to_s, phase.to_s, method_name.to_s ) end |