Class: Cel::ListType
Instance Attribute Summary collapse
-
#element_type ⇒ Object
Returns the value of attribute element_type.
Instance Method Summary collapse
- #get(idx) ⇒ Object
-
#initialize(type_list) ⇒ ListType
constructor
A new instance of ListType.
Methods inherited from Type
Constructor Details
Instance Attribute Details
#element_type ⇒ Object
Returns the value of attribute element_type.
44 45 46 |
# File 'lib/cel/ast/types.rb', line 44 def element_type @element_type end |
Instance Method Details
#get(idx) ⇒ Object
52 53 54 |
# File 'lib/cel/ast/types.rb', line 52 def get(idx) @type_list[idx] end |