-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement dup #791
Implement dup #791
Conversation
Codecov Report
@@ Coverage Diff @@
## master #791 +/- ##
==========================================
+ Coverage 80.22% 80.31% +0.09%
==========================================
Files 54 54
Lines 7397 7431 +34
==========================================
+ Hits 5934 5968 +34
Misses 1236 1236
Partials 227 227
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the implementations!
I'll add the API docs to them.
The default
dup
method returns the receiver object. Mutable data structures likeObject
,Array
,String
andHash
have their own implementation to override the default behavior for real duplication.