Sha256: adf1233a8cf624a43b2e2b582bf190b78df162cf1585131ae4304549ab992d35

Contents?: true

Size: 317 Bytes

Versions: 6

Compression:

Stored size: 317 Bytes

Contents

# About Hashes

Create a hash:

```#run_irb
h = {}
p h.class
p h
```

Initialize a hash:

```#run_irb
h = {:a => 0, :b => 1}
p h
```

Change a value:

```#run_irb
h[:b] = 2
p h
```

Add a new entry:

```#run_irb
h[:c] = 2
p h
```

Delete an entry:

```#run_irb
h.delete(:a)
p h
```

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
markdown_helper-2.5.4 markdown/use_cases/run_irb/run_irb/template.md
markdown_helper-2.5.3 markdown/use_cases/run_irb/run_irb/template.md
markdown_helper-2.5.2 markdown/use_cases/run_irb/run_irb/template.md
markdown_helper-2.5.1 markdown/use_cases/run_irb/run_irb/template.md
markdown_helper-2.5.0 markdown/use_cases/run_irb/run_irb/template.md
markdown_helper-2.4.0 markdown/use_cases/run_irb/run_irb/template.md