-
Dear community, Which is used to create bytes structure of YAML gemspec. I am not sure if I fully understand what is happening on lines above, I appreciate if somebody could explain (in English) why do we need so structure. If I am able to read this code we just iterate over hash KV and assign V to K. More general question - why we can't just use gemspec object as is? PS I am not so clever at Ruby, |
Beta Was this translation helpful? Give feedback.
Answered by
ep4sh
Jun 29, 2023
Replies: 1 comment 6 replies
-
I'm not sure what are you looking for exactly, but gem specification is being serialized in |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nevermind, it looks like I've found the answer - https://docs.ruby-lang.org/en/2.1.0/marshal_rdoc.html
It's really strange having all that stuff, IMO