This project is closed and read-only.
Actions
Backport #7942
closedkeyword arguments must use with paren?
Backport #7942:
keyword arguments must use with paren?
Status:
Closed
Assignee:
Description
def hello name: "ruby2"
puts "hello #{name}"
end
syntax error, unexpected ':', expecting ';' or '\n'
def hello(name: "ruby2")
puts "hello #{name}"
end
work well
Actions