Class: TypedRb::Model::TmSymbolInterpolation
- Defined in:
- lib/typed/model/tm_symbol_interpolation.rb
Overview
Symbol interpolation
Instance Attribute Summary collapse
-
#units ⇒ Object
readonly
Returns the value of attribute units.
Attributes inherited from Expr
Instance Method Summary collapse
- #check_type(context) ⇒ Object
-
#initialize(units, node) ⇒ TmSymbolInterpolation
constructor
A new instance of TmSymbolInterpolation.
Constructor Details
#initialize(units, node) ⇒ TmSymbolInterpolation
Returns a new instance of TmSymbolInterpolation.
8 9 10 11 |
# File 'lib/typed/model/tm_symbol_interpolation.rb', line 8 def initialize(units, node) super(node) @units = units end |
Instance Attribute Details
#units ⇒ Object (readonly)
Returns the value of attribute units.
7 8 9 |
# File 'lib/typed/model/tm_symbol_interpolation.rb', line 7 def units @units end |