The `method_missing` signature isn't correct since Ruby 3.0, as it doesn't handle keyword arguments.
It should be:
def method_missing(name, *args, **kwargs, &block)
Starting from 3.1 it can be: def method_missing(name, ...)