RubyFlow The Ruby and Rails community linklog

5 Ruby Tips You Probably Don’t Know

In this article we’re going to explore the following topics:

  • assigning the rest of an Array to a variable
  • array destructuring in block arguments
  • Hash#default_proc as default value
  • HEREDOC and method chaining
  • unary operators for non-numeric objects
  • SEE MORE

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