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

object.send :eval is not supported in some Rubies #26

Open
asppsa opened this issue Jul 3, 2015 · 0 comments
Open

object.send :eval is not supported in some Rubies #26

asppsa opened this issue Jul 3, 2015 · 0 comments

Comments

@asppsa
Copy link

asppsa commented Jul 3, 2015

Hi there,

I'm using Rubinius and have found that this line in the SAX parser doesn't work under their Ruby implementation. I'm guessing that this is because the private eval method is not documented (as far as I can tell). I believe this line can be replaced by obj.instance_eval(code) -- I've tested this under Rubinius and it seems to work.

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

1 participant