Replies: 1 comment
-
No, you're right. It's not necessary. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When copying the attributes hash in
#with
in Literal::Data a dup call creates a shallow copy of attributes, but then merge is called. But won't#merge
create a new hash anyway?https://github.com/joeldrapper/literal/blob/main/lib/literal/data.rb#L50
Beta Was this translation helpful? Give feedback.
All reactions