Ruby Named Parameters / Keyword Arguments
It’s 2015 and I’m just now seeing code like this in the wild?!?:
def some_method(first_name:, last_name:)
Keyword arguments were added in Ruby 2.0, this particular syntax (no default values) is Ruby 2.1. Released end of Dec 2013.
https://robots.thoughtbot.com/ruby-2-keyword-arguments












