Class: Solargraph::Source::Chain::InstanceVariable
- Defined in:
- lib/solargraph/source/chain/instance_variable.rb
Instance Attribute Summary
Attributes inherited from Link
Instance Method Summary collapse
Methods inherited from Link
#==, #clone_body, #clone_head, #constant?, #head?, #initialize, #undefined?
Constructor Details
This class inherits a constructor from Solargraph::Source::Chain::Link
Instance Method Details
#resolve(api_map, name_pin, locals) ⇒ Object
7 8 9 |
# File 'lib/solargraph/source/chain/instance_variable.rb', line 7 def resolve api_map, name_pin, locals api_map.get_instance_variable_pins(name_pin.binder.namespace, name_pin.binder.scope).select{|p| p.name == word} end |