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 Marc-Andre Lafortune over 3 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100