From: "prijutme4ty (Ilya Vorontsov)" Date: 2012-09-12T04:10:17+09:00 Subject: [ruby-core:47476] [ruby-trunk - Feature #7007][Open] Make OpenStruct#new accept OpenStruct object Issue #7007 has been reported by prijutme4ty (Ilya Vorontsov). ---------------------------------------- Feature #7007: Make OpenStruct#new accept OpenStruct object https://bugs.ruby-lang.org/issues/7007 Author: prijutme4ty (Ilya Vorontsov) Status: Open Priority: Normal Assignee: Category: Target version: Now we have OpenStruct.new(hash) method. But it can be more consistent if one can use it also in form OpenStruct.new(open_struct) which will create a new instance which is a copy of an argument. -- http://bugs.ruby-lang.org/