Sha256: 48a79c420bb3349e40fe83a0e3c4d5334dc0a295cb3b659d06bfc037d6fc9649
Contents?: true
Size: 625 Bytes
Versions: 2
Compression:
Stored size: 625 Bytes
Contents
# frozen_string_literal: true require_relative "unary_function" module Plurimath module Math module Function class Hat < UnaryFunction def to_mathml_without_math_tag mover_tag = Utility.ox_element("mover") first_value = parameter_one&.to_mathml_without_math_tag second_value = (Utility.ox_element("mo") << "^") Utility.update_nodes( mover_tag, [ first_value, second_value, ], ) end def validate_function_formula false end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.3.7 | lib/plurimath/math/function/hat.rb |
plurimath-0.3.6 | lib/plurimath/math/function/hat.rb |