Sha256: 080d52f12e129b39a36a8538eb073561bad071b5c4822b4bcdb7a1d272b9084e
Contents?: true
Size: 490 Bytes
Versions: 3
Compression:
Stored size: 490 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
3 entries across 3 versions & 1 rubygems