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.
102 103 104 105 |
# File 'lib/fasterer/method_call.rb', line 102 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.
100 101 102 |
# File 'lib/fasterer/method_call.rb', line 100 def name @name end |