Search code examples
rubymethodsargumentsruby-2.0

What is the current status of named arguments (named method parameters, keyword arguments) in Ruby?


I have heard that named method arguments will be among the feature improvements in Ruby 2.0. Can someone let me in on their current established syntax in Ruby 2.0?


Solution

  • Update: Here's a great 6mins screencast by Peter Cooper on Keyword Arguments in Ruby 2.0.

    Old: Have a look at this blog post about Keyword Arguments in Ruby 2.0 from yesterday.