Skip to content
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

Migrate from to_text/parse_test to Marshaling compatible dump/load methods #21

Open
dapi opened this issue Dec 6, 2018 · 5 comments
Open

Comments

@dapi
Copy link
Contributor

dapi commented Dec 6, 2018

No description provided.

@0crat
Copy link

0crat commented Dec 6, 2018

@yegor256/z please, pay attention to this issue

@0crat
Copy link

0crat commented Dec 6, 2018

@dapi/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!

@yegor256
Copy link
Contributor

yegor256 commented Dec 8, 2018

@dapi can you please explain more? I'm not sure I understand what is "marshalling" here.

@dapi
Copy link
Contributor Author

dapi commented Dec 12, 2018

Use this interface to dump in to string (byte stream) and restore from the string in ruby:

Class#load
object.dump

Override basic implementation of these methods in class Zold::Score.

This it a ruby's notation provided by Marshal module and is supported by many other marshalling users.

@yegor256
Copy link
Contributor

@dapi can you submit a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants