[ruby-core:112698] [Ruby master Feature#18951] Object#with to set and restore attributes around a block