Class: OllamaAgent::Topology::IR::ConcernNode
- Inherits:
-
Data
- Object
- Data
- OllamaAgent::Topology::IR::ConcernNode
- Defined in:
- lib/ollama_agent/topology/ir/concern_node.rb
Instance Attribute Summary collapse
-
#class_methods ⇒ Object
readonly
Returns the value of attribute class_methods.
-
#fqcn ⇒ Object
readonly
Returns the value of attribute fqcn.
-
#included_modules ⇒ Object
readonly
Returns the value of attribute included_modules.
-
#instance_methods ⇒ Object
readonly
Returns the value of attribute instance_methods.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#origin_extractor_version ⇒ Object
readonly
Returns the value of attribute origin_extractor_version.
-
#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:, fqcn:, included_modules: [], class_methods: [], instance_methods: []) ⇒ Object
rubocop:disable Metrics/ParameterLists.
Instance Attribute Details
#class_methods ⇒ Object (readonly)
Returns the value of attribute class_methods
6 7 8 |
# File 'lib/ollama_agent/topology/ir/concern_node.rb', line 6 def class_methods @class_methods end |
#fqcn ⇒ Object (readonly)
Returns the value of attribute fqcn
6 7 8 |
# File 'lib/ollama_agent/topology/ir/concern_node.rb', line 6 def fqcn @fqcn end |
#included_modules ⇒ Object (readonly)
Returns the value of attribute included_modules
6 7 8 |
# File 'lib/ollama_agent/topology/ir/concern_node.rb', line 6 def included_modules @included_modules end |
#instance_methods ⇒ Object (readonly)
Returns the value of attribute instance_methods
6 7 8 |
# File 'lib/ollama_agent/topology/ir/concern_node.rb', line 6 def instance_methods @instance_methods end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
6 7 8 |
# File 'lib/ollama_agent/topology/ir/concern_node.rb', line 6 def kind @kind end |
#origin_extractor_version ⇒ Object (readonly)
Returns the value of attribute origin_extractor_version
6 7 8 |
# File 'lib/ollama_agent/topology/ir/concern_node.rb', line 6 def origin_extractor_version @origin_extractor_version end |
#source_line ⇒ Object (readonly)
Returns the value of attribute source_line
6 7 8 |
# File 'lib/ollama_agent/topology/ir/concern_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/concern_node.rb', line 6 def source_path @source_path end |
Class Method Details
.build(source_path:, source_line:, origin_extractor_version:, fqcn:, included_modules: [], class_methods: [], instance_methods: []) ⇒ Object
rubocop:disable Metrics/ParameterLists
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/ollama_agent/topology/ir/concern_node.rb', line 17 def self.build( source_path:, source_line:, origin_extractor_version:, fqcn:, included_modules: [], class_methods: [], instance_methods: [] ) # rubocop:enable Metrics/ParameterLists new( :concern, source_path.to_s, Integer(source_line), origin_extractor_version.to_s, fqcn.to_s, Array(included_modules).map(&:to_s).freeze, Array(class_methods).map(&:to_s).freeze, Array(instance_methods).map(&:to_s).freeze ) end |