Sha256: 89dd864d5374bebbd37f2536e061f8b3f660f9922f286d8b1a5a9d54267a8daf
Contents?: true
Size: 666 Bytes
Versions: 17
Compression:
Stored size: 666 Bytes
Contents
# frozen_string_literal: true require_relative "unary_function" module Plurimath module Math module Function class Phantom < UnaryFunction def to_asciimath "\"#{Array.new(parameter_one&.length, ' ').join}\"" end def to_html "<i>#{Array.new(parameter_one&.length, ' ').join}</i>" end def to_latex "<i>#{Array.new(parameter_one&.length, '\\ ').join}</i>" end def to_mathml_without_math_tag mi_tag_value = Array.new(parameter_one&.length, " ").join Utility.ox_element("mi") << mi_tag_value end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems