Class: RubyIndexer::Entry::InstanceVariable
- Inherits:
-
RubyIndexer::Entry
- Object
- RubyIndexer::Entry
- RubyIndexer::Entry::InstanceVariable
- Defined in:
- lib/ruby_indexer/lib/ruby_indexer/entry.rb
Overview
Represents an instance variable e.g.: @a = 1
Instance Attribute Summary collapse
-
#owner ⇒ Object
readonly
Returns the value of attribute owner.
Attributes inherited from RubyIndexer::Entry
#comments, #file_path, #location, #name, #visibility
Instance Method Summary collapse
-
#initialize(name, file_path, location, comments, owner) ⇒ InstanceVariable
constructor
A new instance of InstanceVariable.
Methods inherited from RubyIndexer::Entry
#file_name, #private?, #protected?, #public?
Constructor Details
#initialize(name, file_path, location, comments, owner) ⇒ InstanceVariable
Returns a new instance of InstanceVariable.
484 485 486 487 |
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 484 def initialize(name, file_path, location, comments, owner) super(name, file_path, location, comments) @owner = owner end |
Instance Attribute Details
#owner ⇒ Object (readonly)
Returns the value of attribute owner.
473 474 475 |
# File 'lib/ruby_indexer/lib/ruby_indexer/entry.rb', line 473 def owner @owner end |