Class: RLSL::Prism::TypeShapes::ArrayType
- Inherits:
-
Struct
- Object
- Struct
- RLSL::Prism::TypeShapes::ArrayType
- Defined in:
- lib/rlsl/prism/type_inference/type_shapes.rb
Instance Attribute Summary collapse
-
#element_type ⇒ Object
Returns the value of attribute element_type.
Instance Method Summary collapse
Instance Attribute Details
#element_type ⇒ Object
Returns the value of attribute element_type
6 7 8 |
# File 'lib/rlsl/prism/type_inference/type_shapes.rb', line 6 def element_type @element_type end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/rlsl/prism/type_inference/type_shapes.rb', line 11 def to_s to_sym.to_s end |
#to_sym ⇒ Object
7 8 9 |
# File 'lib/rlsl/prism/type_inference/type_shapes.rb', line 7 def to_sym :"array_#{element_type}" end |