Class: RubyIndexer::Entry::Method
- Inherits:
-
Member
- Object
- RubyIndexer::Entry
- Member
- RubyIndexer::Entry::Method
- Defined in:
- lib/ruby_indexer/lib/ruby_indexer/entry.rb
Instance Attribute Summary collapse
-
#name_location ⇒ Object
readonly
Returns the location of the method name, excluding parameters or the body : Location.
-
#signatures ⇒ Object
readonly
: Array.
Attributes inherited from Member
Attributes inherited from RubyIndexer::Entry
#configuration, #location, #name, #uri, #visibility
Instance Method Summary collapse
-
#initialize(configuration, name, uri, location, name_location, comments, signatures, visibility, owner) ⇒ Method
constructor
: (Configuration configuration, String name, URI::Generic uri, Location location, Location name_location, String? comments, Array signatures, Symbol visibility, Entry::Namespace? owner) -> void.
Methods inherited from Member
#decorated_parameters, #formatted_signatures
Methods inherited from RubyIndexer::Entry
#comments, #file_name, #file_path, #private?, #protected?, #public?
Constructor Details
#initialize(configuration, name, uri, location, name_location, comments, signatures, visibility, owner) ⇒ Method
: (Configuration configuration, String name, URI::Generic uri, Location location, Location name_location, String? comments, Array signatures, Symbol visibility, Entry::Namespace? owner) -> void
349 350 351 352 353 |
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 349 def initialize(configuration, name, uri, location, name_location, comments, signatures, visibility, owner) # rubocop:disable Metrics/ParameterLists super(configuration, name, uri, location, comments, visibility, owner) @signatures = signatures @name_location = name_location end |
Instance Attribute Details
#name_location ⇒ Object (readonly)
Returns the location of the method name, excluding parameters or the body : Location
346 347 348 |
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 346 def name_location @name_location end |
#signatures ⇒ Object (readonly)
: Array
342 343 344 |
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 342 def signatures @signatures end |