ginjo / rfm

FileMaker to Ruby adapter.
MIT License
45 stars 22 forks source link

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

Open asppsa opened 9 years ago

asppsa commented 9 years ago

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.