Sha256: 5a74266d6e3f9aff6907c8c8fc98560c8c9ade6b2c657cf1eb8171494a3c5eb5
Contents?: true
Size: 611 Bytes
Versions: 10
Compression:
Stored size: 611 Bytes
Contents
# frozen_string_literal: true require_relative "binary_function" module Plurimath module Math module Function class Intent < BinaryFunction def to_mathml_without_math_tag first_value = parameter_one.to_mathml_without_math_tag first_value.attributes[:intent] = 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