Sha256: 2272876aca04d4fac17b681ec3073359cadb8d9719c678581095251769882179
Contents?: true
Size: 728 Bytes
Versions: 10
Compression:
Stored size: 728 Bytes
Contents
# frozen_string_literal: true require_relative "binary_function" module Plurimath module Math module Function class Mlabeledtr < BinaryFunction def to_mathml_without_math_tag table = ox_element("mtable") mlabeledtr = ox_element(class_name) labeledtr_td(mlabeledtr, parameter_two.to_mathml_without_math_tag) labeledtr_td(mlabeledtr, parameter_one.to_mathml_without_math_tag) table << mlabeledtr end def to_unicodemath "#{parameter_one&.to_unicodemath}##{parameter_two&.value}" end protected def labeledtr_td(tr, value) tr << (ox_element("mtd") << value) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems