Sha256: b66513171f6dff900787a1cbcc13a56837a84922c802c09b9746da732757b180

Contents?: true

Size: 475 Bytes

Versions: 17

Compression:

Stored size: 475 Bytes

Contents

# frozen_string_literal: true

require_relative "unary_function"

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

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/function/dim.rb
plurimath-0.8.13 lib/plurimath/math/function/dim.rb
plurimath-0.8.12 lib/plurimath/math/function/dim.rb
plurimath-0.8.11 lib/plurimath/math/function/dim.rb
plurimath-0.8.10 lib/plurimath/math/function/dim.rb
plurimath-0.8.9 lib/plurimath/math/function/dim.rb
plurimath-0.8.8 lib/plurimath/math/function/dim.rb
plurimath-0.8.7 lib/plurimath/math/function/dim.rb
plurimath-0.8.6 lib/plurimath/math/function/dim.rb
plurimath-0.8.5 lib/plurimath/math/function/dim.rb
plurimath-0.8.4 lib/plurimath/math/function/dim.rb
plurimath-0.8.2 lib/plurimath/math/function/dim.rb
plurimath-0.8.1 lib/plurimath/math/function/dim.rb
plurimath-0.8.0 lib/plurimath/math/function/dim.rb
plurimath-0.7.2 lib/plurimath/math/function/dim.rb
plurimath-0.7.1 lib/plurimath/math/function/dim.rb
plurimath-0.7.0 lib/plurimath/math/function/dim.rb