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.
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 byobj.instance_eval(code)
-- I've tested this under Rubinius and it seems to work.