I've long though that the format for Mathematical as a module made no sense. Mathematical::Render.new.render is unnecessarily convoluted; Mathematical.new.render is just as fine.
This PR moves Mathematical up as a class. It'll be a breaking (1.0.0) change. I'll release the gem when other downstream mtex2mml changes get made to support more of MathJax.
I've long though that the format for Mathematical as a module made no sense.
Mathematical::Render.new.render
is unnecessarily convoluted;Mathematical.new.render
is just as fine.This PR moves Mathematical up as a class. It'll be a breaking (1.0.0) change. I'll release the gem when other downstream mtex2mml changes get made to support more of MathJax.