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