Class: RubyIndexer::Entry::KeywordRestParameter

Inherits:
Parameter
  • Object
show all
Defined in:
lib/ruby_indexer/lib/ruby_indexer/entry.rb

Overview

A keyword rest method parameter, e.g. ‘def foo(**a)`

Constant Summary collapse

DEFAULT_NAME =

: Symbol

:"<anonymous keyword splat>"

Instance Attribute Summary

Attributes inherited from Parameter

#name

Instance Method Summary collapse

Methods inherited from Parameter

#initialize

Constructor Details

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

Instance Method Details

#decorated_nameObject

: -> Symbol



251
252
253
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 251

def decorated_name
  :"**#{@name}"
end