2 ms·
Yeah, should be invocation, there's a nice example on the feature request (https://bugs.ruby-lang.org/issues/14579 https://bugs.ruby-lang.org/issues/14579):
by kule 5y ago
Yeah, should be invocation, there's a nice example on the feature request (https://bugs.ruby-lang.org/issues/14579 https://bugs.ruby-lang.org/issues/14579):
def login(username: ENV["USER"], password:)
p(username:, password:)
end
login(password: "xxx") #=> {:username=>"shugo", :password=>"xxx"}