Class: IDL::Expression::Value
- Inherits:
-
IDL::Expression
- Object
- IDL::Expression
- IDL::Expression::Value
- Defined in:
- lib/ridl/expression.rb
Instance Attribute Summary
Attributes inherited from IDL::Expression
Instance Method Summary collapse
-
#initialize(type, val) ⇒ Value
constructor
A new instance of Value.
Methods inherited from IDL::Expression
#instantiate, #is_template?, #typename
Constructor Details
#initialize(type, val) ⇒ Value
Returns a new instance of Value.
30 31 32 33 |
# File 'lib/ridl/expression.rb', line 30 def initialize(type, val) @idltype = type @value = @idltype.narrow(val) end |