Notes posted by aberezovskiy
RSS feed![Default_avatar_30](https://www.gravatar.com/avatar/e9b37f416b3922b3b1a8aad08b92d7e5?default=http://apidock.com/images/default_avatar_30.png&size=30)
1 thank
Dup vs Clone difference
As for me main difference between .dup and .clone , that first one doesn’t not freeze result object if initial object was frozen.
![Default_avatar_30](https://www.gravatar.com/avatar/e9b37f416b3922b3b1a8aad08b92d7e5?default=http://apidock.com/images/default_avatar_30.png&size=30)
1 thank
As for me main difference between .dup and .clone , that first one doesn’t not freeze result object if initial object was frozen.