Class: RubyIndexer::ReferenceFinder::InstanceVariableTarget

Inherits:
Target
  • Object
show all
Defined in:
lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, owner_ancestors) ⇒ InstanceVariableTarget

: (String name, Array owner_ancestors) -> void



39
40
41
42
43
# File 'lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb', line 39

def initialize(name, owner_ancestors)
  super()
  @name = name
  @owner_ancestors = owner_ancestors
end

Instance Attribute Details

#nameObject (readonly)

: String



33
34
35
# File 'lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb', line 33

def name
  @name
end

#owner_ancestorsObject (readonly)

: Array



36
37
38
# File 'lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb', line 36

def owner_ancestors
  @owner_ancestors
end