Class: Solargraph::Source::Chain::ZSuper

Inherits:
Call
  • Object
show all
Defined in:
lib/solargraph/source/chain/z_super.rb

Instance Attribute Summary collapse

Attributes inherited from Link

#last_context

Instance Method Summary collapse

Methods inherited from Call

#with_block?

Methods inherited from Link

#==, #clone_body, #clone_head, #constant?, #head?, #undefined?

Constructor Details

#initialize(word, with_block = false) ⇒ ZSuper



17
18
19
# File 'lib/solargraph/source/chain/z_super.rb', line 17

def initialize word, with_block = false
  super(word, [], with_block)
end

Instance Attribute Details

#argumentsArray<Chain> (readonly)



11
12
13
# File 'lib/solargraph/source/chain/z_super.rb', line 11

def arguments
  @arguments
end

#wordString (readonly)



8
9
10
# File 'lib/solargraph/source/chain/z_super.rb', line 8

def word
  @word
end

Instance Method Details

#resolve(api_map, name_pin, locals) ⇒ Object



24
25
26
# File 'lib/solargraph/source/chain/z_super.rb', line 24

def resolve api_map, name_pin, locals
  return super_pins(api_map, name_pin)
end