Sha256: fd1b15092f3c89dca5d3818d5f378a5d73baba662d8bf67ad4471ff5057419ce
Contents?: true
Size: 764 Bytes
Versions: 15
Compression:
Stored size: 764 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:e") end def to_html "" end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems