Class: RubyIndexer::Entry::BlockParameter
- Extended by:
- T::Sig
- 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 =
T.let(:"<anonymous block>", Symbol)
Instance Attribute Summary
Attributes inherited from Parameter
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Parameter
Constructor Details
This class inherits a constructor from RubyIndexer::Entry::Parameter
Class Method Details
.anonymous ⇒ Object
294 295 296 |
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 294 def anonymous new(name: DEFAULT_NAME) end |
Instance Method Details
#decorated_name ⇒ Object
300 301 302 |
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 300 def decorated_name :"&#{@name}" end |