Class: Fasterer::VariableReference
- Inherits:
-
Object
- Object
- Fasterer::VariableReference
- Defined in:
- lib/fasterer/method_call.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(reference_info) ⇒ VariableReference
constructor
A new instance of VariableReference.
Constructor Details
#initialize(reference_info) ⇒ VariableReference
Returns a new instance of VariableReference.
116 117 118 119 |
# File 'lib/fasterer/method_call.rb', line 116 def initialize(reference_info) @reference_info = reference_info @name = reference_info[1] end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
114 115 116 |
# File 'lib/fasterer/method_call.rb', line 114 def name @name end |