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.
50 51 52 |
# File 'lib/cel/ast/types.rb', line 50 def element_type @element_type end |
Instance Method Details
#get(idx) ⇒ Object
58 59 60 |
# File 'lib/cel/ast/types.rb', line 58 def get(idx) @type_list[idx] end |