Sha256: 87bce72445802a25b4e5cc166d8d736185c551dd3601334b30f57f45c1a71191
Contents?: true
Size: 580 Bytes
Versions: 1
Compression:
Stored size: 580 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: to_s: one size: 3 encoding: !ruby/encoding UTF-8 ascii_only?: true bytesize: 3 Element 2: Symbol: to_s: two size: 3 encoding: !ruby/encoding US-ASCII ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
debug_helper-1.8.0 | markdown/readme/classes/array/mixed/show.md |