lib/danica/division.rb in danica-2.0.4 vs lib/danica/division.rb in danica-2.0.5

- old
+ new

@@ -4,16 +4,14 @@ def to_f numerator.to_f / denominator.to_f end - private - - def tex_string + def to_tex "\\frac{#{numerator.to_tex}}{#{denominator.to_tex}}" end - def gnu_string + def to_gnu "#{numerator.to_gnu}/#{denominator.to_gnu}" end end end