RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in