Skip to content

Commit

Permalink
Update post
Browse files Browse the repository at this point in the history
  • Loading branch information
kitallis committed Aug 8, 2023
1 parent 4a95bbf commit 3c5c3eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/post-2023-08-08T19:41:37.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ One, I think [numbered params](https://ruby-doc.org/core-2.7.0/Proc.html#class-P

```ruby
@client.workflows(repo)
.then { fetch_workflows(*1) }
.then { pick_active(*1) }
.then { transform_keys(*1) }
.then { fetch_workflows(_1) }
.then { pick_active(_1) }
.then { transform_keys(_1) }
```

The above feels more natural and less noisy than naming each intermediate step with similar sounding variable names.
Expand Down

0 comments on commit 3c5c3eb

Please sign in to comment.