Sha256: 40f50d18d0978a30c64e571ac382e55a34d6c2af41f3a94c68edcd011adbf4a4
Contents?: true
Size: 546 Bytes
Versions: 1
Compression:
Stored size: 546 Bytes
Contents
#### Nested Arrays This example shows nested arrays. ```show.rb```: ```ruby require 'debug_helper' ary = [0, [1, 2], [3, 4]] DebugHelper.show(ary, 'My nested arrays') ``` The output shows details of the arrays. ```show.yaml```: ```yaml --- Array (message='My nested arrays'): Array#size: 3 Element 0: Fixnum 0 Element 1: Array: Array#size: 2 Element 0: Fixnum 1 Element 1: Fixnum 2 Element 2: Array: Array#size: 2 Element 0: Fixnum 3 Element 1: Fixnum 4 ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
debug_helper-2.0.0 | markdown/readme/classes/array/nested/show.md |