class Solargraph::Source::Chain::Head
Chain::Head is a link for ambiguous words, e.g.; โString` can refer to either a class (`String`) or a function (`Kernel#String`).
@note Chain::Head is only intended to handle โself` and `super`.
Public Instance Methods
Source
# File lib/solargraph/source/chain/head.rb, line 11 def resolve api_map, name_pin, locals return [Pin::ProxyType.anonymous(name_pin.binder, source: :chain)] if word == 'self' # return super_pins(api_map, name_pin) if word == 'super' [] end