Sha256: 6f1ae8b0cd34cf685dfeb9979941f6d816600b2f9e57672997450bcb04ba7ce6
Contents?: true
Size: 500 Bytes
Versions: 1
Compression:
Stored size: 500 Bytes
Contents
#### Circular Arrays This example shows arrays that make a circular reference. ```show.rb```: ```ruby require 'debug_helper' ary_0 = [] ary_1 = [] ary_0.push(ary_1) ary_1.push(ary_0) DebugHelper.show(ary_0, 'My circular arrays') ``` The output shows details of the arrays. The circular reference is not followed. ```show.yaml```: ```yaml --- Array (message='My circular arrays'): size: 1 Element 0: Array: size: 1 Element 0: Array [[[...]]] ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
debug_helper-1.8.0 | markdown/readme/classes/array/circular/show.md |