[ci skip] fix doc for the Hash#assert_valid_keys
Fix documentation from #15669 [ci skip]