Sha256: 0be27f70345d0dd35f747f36ca648ad11baf7428bc19d4355dc8dab4c387d162
Contents?: true
Size: 564 Bytes
Versions: 2
Compression:
Stored size: 564 Bytes
Contents
#### Mixed Array This example shows an array of mixed values. ```show.rb```: ```ruby require 'debug_helper' ary = [0, 'one', :two] DebugHelper.show(ary, 'My mixed array') ``` The output shows details of the array. ```show.yaml```: ```yaml --- Array (message='My mixed array' size=3): Element 0: Fixnum 0 Element 1: String (size=3): to_s: one encoding: !ruby/encoding UTF-8 ascii_only?: true bytesize: 3 Element 2: Symbol (size=3): to_s: two encoding: !ruby/encoding US-ASCII ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
debug_helper-1.7.0 | markdown/readme/classes/array/mixed/show.md |
debug_helper-1.6.0 | markdown/readme/classes/array/mixed/show.md |