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

StackOverflow https://stackoverflow.com/questions/12794745

Question

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?

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top