Make OpenStruct#new accept OpenStruct object
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.
#3 Updated by marcandre (Marc-Andre Lafortune) almost 5 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100