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

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

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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top