Re:Ruby 3.0 Preview 1
by monadic2 on Saturday September 26, 2020 @02:21AM
(#24596817)
Map doesn't mutate, it returns the result of applying a function to the (possibly immutable) value. I believe you can also, say, `select icolumn * 2 from table`, where `icolumn * 2` provides precisely the same functionality as the function passed to a map.
[ Parent
| on HN ]
There are no comments on this comment yet.