Class: RubyIndexer::Entry::BlockParameter
- Defined in:
- lib/ruby_indexer/lib/ruby_indexer/entry.rb
Overview
A block method parameter, e.g. ‘def foo(&block)`
Constant Summary collapse
- DEFAULT_NAME =
: Symbol
:"<anonymous block>"
Instance Attribute Summary
Attributes inherited from Parameter
Class Method Summary collapse
-
.anonymous ⇒ Object
: -> BlockParameter.
Instance Method Summary collapse
-
#decorated_name ⇒ Object
: -> Symbol.
Methods inherited from Parameter
Constructor Details
This class inherits a constructor from RubyIndexer::Entry::Parameter
Class Method Details
.anonymous ⇒ Object
: -> BlockParameter
266 267 268 |
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 266 def anonymous new(name: DEFAULT_NAME) end |
Instance Method Details
#decorated_name ⇒ Object
: -> Symbol
273 274 275 |
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 273 def decorated_name :"&#{@name}" end |