Class: ReferenceExtractor::Reference

Inherits:
Struct
  • Object
show all
Defined in:
lib/reference_extractor/reference.rb

Overview

A constant reference from one file to another.

Instance Attribute Summary collapse

Instance Attribute Details

#constantObject

Returns the value of attribute constant

Returns:

  • (Object)

    the current value of constant



5
6
7
# File 'lib/reference_extractor/reference.rb', line 5

def constant
  @constant
end

#relative_pathObject

Returns the value of attribute relative_path

Returns:

  • (Object)

    the current value of relative_path



5
6
7
# File 'lib/reference_extractor/reference.rb', line 5

def relative_path
  @relative_path
end

#source_locationObject

Returns the value of attribute source_location

Returns:

  • (Object)

    the current value of source_location



5
6
7
# File 'lib/reference_extractor/reference.rb', line 5

def source_location
  @source_location
end