Sha256: bad41e89c6b47f30c0ac06349cf64afb13534d49b65578d48e8213e30dafe904

Contents?: true

Size: 503 Bytes

Versions: 9

Compression:

Stored size: 503 Bytes

Contents

# frozen_string_literal: true

require_relative "unary_function"

module Plurimath
  module Math
    module Function
      class Max < UnaryFunction
        def validate_function_formula
          false
        end

        def to_omml_without_math_tag(display_style, options:)
          array = []
          array << r_element("max", rpr_tag: false) unless hide_function_name
          array += Array(omml_value(display_style, options: options))
          array
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
plurimath-0.8.23 lib/plurimath/math/function/max.rb
plurimath-0.8.22 lib/plurimath/math/function/max.rb
plurimath-0.8.21 lib/plurimath/math/function/max.rb
plurimath-0.8.20 lib/plurimath/math/function/max.rb
plurimath-0.8.19 lib/plurimath/math/function/max.rb
plurimath-0.8.18 lib/plurimath/math/function/max.rb
plurimath-0.8.17 lib/plurimath/math/function/max.rb
plurimath-0.8.16 lib/plurimath/math/function/max.rb
plurimath-0.8.15 lib/plurimath/math/function/max.rb