Ruby 2.5 makes block results and failure paths more explicit
engineeringrubyblockstestingruntimeRuby 2.5 adds yield_self and exception clauses directly inside do/end blocks. Branch and method coverage provide more precise evidence about executed paths, while runtime work reduces unused tracing overhead.