Class: RubyIndexer::Entry::OptionalParameter
- Defined in:
- lib/ruby_indexer/lib/ruby_indexer/entry.rb
Overview
An optional method parameter, e.g. ‘def foo(a = 123)`
Instance Attribute Summary
Attributes inherited from Parameter
Instance Method Summary collapse
-
#decorated_name ⇒ Object
: -> Symbol.
Methods inherited from Parameter
Constructor Details
This class inherits a constructor from RubyIndexer::Entry::Parameter
Instance Method Details
#decorated_name ⇒ Object
: -> Symbol
211 212 213 |
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 211 def decorated_name :"#{@name} = <default>" end |