Noel Rappin
- 10mo ·
-
Public·
-
ruby.social
New blog/newsletter: back to the Better Know A Ruby Thing, this time it's positional arguments:
https://noelrappin.com/blog/2024/01/better-know-positional-arguments/
The weird thing I learned for this one is that
```
def a_method(a, (b, *c), *d)
end
```
> a_method([1, [2, 3, 4], 5, 6)
Is legal Ruby…
Email should be winding its way around, sign up at https://buttondown.email/noelrap for the full experience.