Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions lang-guide/chapters/filters/each-par-each.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ls
| transpose key value
| inspect
| each {|kv|
$'The value of the "($kv.key) field is "($kv.value)"'
$'The value of the "($kv.key)" field is "($kv.value)"'
}
```

Expand All @@ -30,10 +30,10 @@ Result:
│ modified │ 2024-01-31T10:21:46.068408713-05:00 │
╰──────────┴─────────────────────────────────────╯

╭───┬──────────────────────────────────────────────────────────────────────────────────────╮
│ 0 │ The value of the "name field is "CNAME" │
│ 1 │ The value of the "type field is "file" │
│ 2 │ The value of the "size field is "15 B" │
│ 3 │ The value of the "modified field is "Wed, 31 Jan 2024 10:21:46 -0500 (3 months ago)" │
╰───┴──────────────────────────────────────────────────────────────────────────────────────╯
╭───┬──────────────────────────────────────────────────────────────────────────────────────
│ 0 │ The value of the "name" field is "CNAME" │
│ 1 │ The value of the "type" field is "file" │
│ 2 │ The value of the "size" field is "15 B" │
│ 3 │ The value of the "modified" field is "Wed, 31 Jan 2024 10:21:46 -0500 (3 months ago)" │
╰───┴──────────────────────────────────────────────────────────────────────────────────────
```