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