Ruby: "argumenterror: missing keyword" problem

Example:

def greet(name:)
  puts "Hello, #{name}!"
end
greet()
This error arises when a method requires a keyword argument, but it isn't provided.

Solution:

greet(name: "Ruby")

Beginner's Guide to Ruby