Using splats to build up and tear apart arrays in Ruby
The humble splat operator (*
) is one of those features of Ruby that just gets more interesting the more you look at it. In this post we’ll talk about how you can construct and manipulate arrays with splats. http://blog.honeybadger.io/ruby-splat-array-manipulation-destructuring/
Post a comment