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