Sha256: 449325c2b15a6cb87e5ec3ddbcb92b7ae91bf232a3d392f34a4928603b5e7cdb

Contents?: true

Size: 570 Bytes

Versions: 1

Compression:

Stored size: 570 Bytes

Contents

#### Simple Hash

This example shows a simple hash.

```show.rb```:
```ruby
require 'debug_helper'

hash = {:a => 0, :b => 1, :c => 2}
DebugHelper.show(hash, 'My simple hash')
```

The output shows details of the hash.

```show.yaml```:
```yaml
---
Hash (size=3 name='My simple hash'):
  Pair 0:
    Key:
      Symbol (size=1 encoding=US-ASCII): :a
    Value: Fixnum 0
  Pair 1:
    Key:
      Symbol (size=1 encoding=US-ASCII): :b
    Value: Fixnum 1
  Pair 2:
    Key:
      Symbol (size=1 encoding=US-ASCII): :c
    Value: Fixnum 2
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
debug_helper-1.0.0 markdown/readme/classes/hash/simple/show.md