Class: RubyIndexer::ReferenceFinder::InstanceVariableTarget
- Defined in:
- lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
: String.
-
#owner_ancestors ⇒ Object
readonly
: Array.
Instance Method Summary collapse
-
#initialize(name, owner_ancestors) ⇒ InstanceVariableTarget
constructor
: (String name, Array owner_ancestors) -> void.
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
#name ⇒ Object (readonly)
: String
33 34 35 |
# File 'lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb', line 33 def name @name end |
#owner_ancestors ⇒ Object (readonly)
: Array
36 37 38 |
# File 'lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb', line 36 def owner_ancestors @owner_ancestors end |