[ruby-core:115735] [Ruby master Bug#20063] Inconsistent behavior with required vs optional parameters