Sha256: 125732d984e87a0b1c0465ef8a865b1d478d4e7895a3805813eee2487790485a
Contents?: true
Size: 408 Bytes
Versions: 1
Compression:
Stored size: 408 Bytes
Contents
#### Simple Set This example shows a simple set of integers. ```show.rb```: ```ruby require 'set' require 'debug_helper' set = Set.new([5, 10, 15]) DebugHelper.show(set, 'My simple set') ``` The output shows details of the set. ```show.yaml```: ```yaml --- Set (message='My simple set'): Set#size: 3 Element 0: Integer 5 Element 1: Integer 10 Element 2: Integer 15 ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
debug_helper-2.1.0 | markdown/readme/classes/set/simple/show.md |