Sha256: 75776babef95a1ffbade17a9396e01545bf07a322455b641bcee00e38e4ae441
Contents?: true
Size: 795 Bytes
Versions: 4
Compression:
Stored size: 795 Bytes
Contents
# frozen_string_literal: true require_relative "ternary_function" module Plurimath module Math module Function class Rule < TernaryFunction def to_asciimath "" end def to_latex first_value = "[#{parameter_one.to_latex}]" if parameter_one second_value = "{#{parameter_two.to_latex}}" if parameter_two third_value = "{#{parameter_three.to_latex}}" if parameter_three "\\rule#{first_value}#{second_value}#{third_value}" end def to_mathml_without_math_tag Utility.ox_element("mi") end def to_omml_without_math_tag [Utility.ox_element("m:r") << Utility.ox_element("m:t")] end def to_html "" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems