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

Instances are only usable once #174

Open
leonerd opened this issue Aug 13, 2024 · 1 comment
Open

Instances are only usable once #174

leonerd opened this issue Aug 13, 2024 · 1 comment

Comments

@leonerd
Copy link

leonerd commented Aug 13, 2024

I'm attempting to parse inner contents of a =begin ... block using a helper instance of another Pod::Simple subclass. I find that after I use an instance just once by calling ->parse_string_document on it, any further invocations do nothing. If I want to do another parse, I have to throw it away and start again with a brand new instance. For performance this is a little slow; it'd be nice if I could use the same instance repeatedly.

@khwilliamson
Copy link
Contributor

patches welcome

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

2 participants