Sha256: cb4f89d43ca53a724e3f57fcb06cc085c7f8c6e4d5c975527a21f3e7cfc7e0dd
Contents?: true
Size: 454 Bytes
Versions: 7
Compression:
Stored size: 454 Bytes
Contents
# frozen_string_literal: true require_relative "unary_function" module Plurimath module Math module Function class Abs < UnaryFunction def to_mathml_without_math_tag symbol = Utility.ox_element("mo") << "|" first_value = mathml_value&.insert(0, symbol) Utility.update_nodes( Utility.ox_element("mrow"), first_value << symbol, ) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems