gjtorikian/math-to-itex — pull request #2 by gjtorikian (2014-05-08 17:31:38+00:00)
Title: Don't use refinements for this

Literally just for you @bkeepers.

New syntax:

``` ruby
result = MathToItex('\[a \ne 0\]').convert { |string, type| "#{type} - #{string}" }
```

No overloading of the core String class necessary. Tested on 1.9.3+.