Sha256: 78f08e7b21a8b2b5d14b34ad0404524932aa10a4b3b38f7e42a5588d36361a2a
Contents?: true
Size: 512 Bytes
Versions: 2
Compression:
Stored size: 512 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'): Array#size: 1 Element 0: Array: Array#size: 1 Element 0: Array [[[...]]] ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
debug_helper-2.1.0 | markdown/readme/classes/array/circular/show.md |
debug_helper-2.0.0 | markdown/readme/classes/array/circular/show.md |