Class: RubyIndexer::Entry::Method
- Inherits:
-
Member
- Object
- RubyIndexer::Entry
- Member
- RubyIndexer::Entry::Method
- Extended by:
- T::Helpers, T::Sig
- Defined in:
- lib/ruby_indexer/lib/ruby_indexer/entry.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#parameters ⇒ Object
readonly
Returns the value of attribute parameters.
Attributes inherited from Member
Attributes inherited from RubyIndexer::Entry
#comments, #file_path, #location, #name, #visibility
Instance Method Summary collapse
-
#initialize(name, file_path, location, comments, parameters_node, owner) ⇒ Method
constructor
rubocop:disable Metrics/ParameterLists.
Methods inherited from RubyIndexer::Entry
Constructor Details
#initialize(name, file_path, location, comments, parameters_node, owner) ⇒ Method
rubocop:disable Metrics/ParameterLists
208 209 210 211 212 |
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 208 def initialize(name, file_path, location, comments, parameters_node, owner) # rubocop:disable Metrics/ParameterLists super(name, file_path, location, comments, owner) @parameters = T.let(list_params(parameters_node), T::Array[Parameter]) end |
Instance Attribute Details
#parameters ⇒ Object (readonly)
Returns the value of attribute parameters.
196 197 198 |
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 196 def parameters @parameters end |