Class: RubyIndexer::Entry::Accessor

Inherits:
Member show all
Extended by:
T::Sig
Defined in:
lib/ruby_indexer/lib/ruby_indexer/entry.rb

Instance Attribute Summary

Attributes inherited from Member

#owner

Attributes inherited from RubyIndexer::Entry

#comments, #file_path, #location, #name, #visibility

Instance Method Summary collapse

Methods inherited from Member

#initialize

Methods inherited from RubyIndexer::Entry

#file_name, #initialize

Constructor Details

This class inherits a constructor from RubyIndexer::Entry::Member

Instance Method Details

#parametersObject



182
183
184
185
186
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 182

def parameters
  params = []
  params << RequiredParameter.new(name: name.delete_suffix("=").to_sym) if name.end_with?("=")
  params
end