Hi,
In message "[ruby-talk:19905] Keyword arguments (was GUI...)"
on 01/08/17, Joseph McDonald <joe / vpop.net> writes:
|Matz: Is this in 1.7 yet? What would the syntax look like?
No. Keyword argument is harder than I expected. It would be added in
2.0 maybe.
The syntax would be something like
def test(a="goodbye", b="world")
puts "#{a} #{b}"
end
test(b: "matz", a: "hello")
matz.