See the article separation of positional and keyword arguments in ruby 3 0 in detail. 0 a b end. When method definition accepts keyword arguments as the last argument.