Class: ScaleRb::Types::ArrayType
- Defined in:
- lib/scale_rb/types.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#to_string(depth = 0) ⇒ Object
109 110 111 112 113 114 115 |
# File 'lib/scale_rb/types.rb', line 109 def to_string(depth = 0) if depth > MAX_DEPTH '[...]' else "[#{t(type).to_string(depth + 1)}; #{len}]" end end |