G
Giles Bowkett
I'm writing some code which needs to do something unusual when it
encounters an if, an else, or an end.
=> nil
The ?> line comes up because if appears to not be a method but an
operator or something similar, so my override does nada.
Is there any way to do this? It looks as if I have to either rethink
my strategy or write some kind of parser.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
encounters an if, an else, or an end.
=> nil
The ?> line comes up because if appears to not be a method but an
operator or something similar, so my override does nada.
Is there any way to do this? It looks as if I have to either rethink
my strategy or write some kind of parser.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com