Sha256: 873f5d7282d5766bdd51bd61bd92604beafce1492b110cdcce9dcdcf11ed45c7
Contents?: true
Size: 593 Bytes
Versions: 9
Compression:
Stored size: 593 Bytes
Contents
# frozen_string_literal: true require_relative "unary_function" module Plurimath module Math module Function class Cancel < UnaryFunction def to_mathml_without_math_tag cancel_tag = Utility.ox_element( "menclose", attributes: { notation: "updiagonalstrike" }, ) first_value = parameter_one&.to_mathml_without_math_tag Utility.update_nodes(cancel_tag, [first_value]) end def to_omml_without_math_tag(display_style) omml_value(display_style) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems