Sha256: 0c5a021327b200c9aca19bc02af3f2789670508108b35cec536c0b929919b4bb
Contents?: true
Size: 608 Bytes
Versions: 10
Compression:
Stored size: 608 Bytes
Contents
# frozen_string_literal: true require_relative "binary_function" module Plurimath module Math module Function class Arg < BinaryFunction def to_mathml_without_math_tag first_value = parameter_one.to_mathml_without_math_tag first_value.attributes[:arg] = Utility.html_entity_to_unicode(parameter_two.value) first_value end def to_unicodemath first_value = "(#{parameter_two&.to_unicodemath} #{parameter_one&.to_unicodemath})" if parameter_one || parameter_two "ⓐ#{first_value}" end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems