Sha256: 431054ab26c528aa1691522c46c1f4c663158c3270f9b0c3cc3604cb0d597e79
Contents?: true
Size: 654 Bytes
Versions: 1
Compression:
Stored size: 654 Bytes
Contents
#### Mixed Set This example shows a set of mixed values. ```show.rb```: ```ruby require 'debug_helper' require 'set' set = Set.new([0, 'one', :two]) DebugHelper.show(set, 'My mixed set') ``` The output shows details of the set. ```show.yaml```: ```yaml --- Set (message='My mixed set'): Set#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/set/mixed/show.md |