Class: Packwerk::Reference
- Inherits:
-
Struct
- Object
- Struct
- Packwerk::Reference
- Defined in:
- lib/packwerk/reference.rb
Overview
A reference from a file in one package to a constant that may be defined in a different package.
Instance Attribute Summary collapse
-
#constant ⇒ Object
Returns the value of attribute constant.
-
#package ⇒ Object
Returns the value of attribute package.
-
#relative_path ⇒ Object
Returns the value of attribute relative_path.
-
#source_location ⇒ Object
Returns the value of attribute source_location.
Instance Attribute Details
#constant ⇒ Object
Returns the value of attribute constant
6 7 8 |
# File 'lib/packwerk/reference.rb', line 6 def constant @constant end |
#package ⇒ Object
Returns the value of attribute package
6 7 8 |
# File 'lib/packwerk/reference.rb', line 6 def package @package end |
#relative_path ⇒ Object
Returns the value of attribute relative_path
6 7 8 |
# File 'lib/packwerk/reference.rb', line 6 def relative_path @relative_path end |
#source_location ⇒ Object
Returns the value of attribute source_location
6 7 8 |
# File 'lib/packwerk/reference.rb', line 6 def source_location @source_location end |