Sha256: 9511587759b2a04ac5b6db429df8e74c545cf339b5e31ae877e2668f017e4b29
Contents?: true
Size: 1.01 KB
Versions: 10
Compression:
Stored size: 1.01 KB
Contents
# frozen_string_literal: true require_relative "ternary_function" module Plurimath module Math module Function class Rule < TernaryFunction FUNCTION = { name: "rule", first_value: "first argument", second_value: "second argument", third_value: "third argument", }.freeze 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 def to_unicodemath "" end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems