Sha256: b831bbf1b27729cbebb3ee99aa2509a7ec8ba3c4b06c17b0fb1954edc0c5e8b1
Contents?: true
Size: 643 Bytes
Versions: 1
Compression:
Stored size: 643 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'): Array#size: 3 Element 0: Integer 0 Element 1: String: String#to_s: one String#size: 3 String#encoding: !ruby/encoding UTF-8 String#ascii_only?: true String#bytesize: 3 Element 2: Symbol: Symbol#to_s: two Symbol#size: 3 Symbol#encoding: !ruby/encoding US-ASCII ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
debug_helper-2.1.0 | markdown/readme/classes/array/mixed/show.md |