Sha256: aac90071371e9a47748cf5e174e70d414907221e1192b8e2d54ddad00b69413b

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

require_relative "unary_function"

module Plurimath
  module Math
    module Function
      class Sup < UnaryFunction
        def to_mathml_without_math_tag
          Utility.ox_element("mo") << "sup"
        end

        def to_omml_without_math_tag
          [r_element("sup"), omml_value]
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.3.9 lib/plurimath/math/function/sup.rb
plurimath-0.3.8 lib/plurimath/math/function/sup.rb