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

- old
+ new

@@ -4,16 +4,14 @@ def to_f Math.cos(variable.to_f) end - private - - def tex_string + def to_tex "cos(#{variable.to_tex})" end - def gnu_string + def to_gnu "cos(#{variable.to_gnu})" end end end