Sha256: 14d41bda97b34f473b5b5c8326d69f26cf16749d6e61ac17d6a7cb1bd2910844

Contents?: true

Size: 501 Bytes

Versions: 9

Compression:

Stored size: 501 Bytes

Contents

# frozen_string_literal: true

require_relative "unary_function"

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

        def to_omml_without_math_tag(display_style, options:)
          array = []
          array << r_element("lg", 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/lg.rb
plurimath-0.8.22 lib/plurimath/math/function/lg.rb
plurimath-0.8.21 lib/plurimath/math/function/lg.rb
plurimath-0.8.20 lib/plurimath/math/function/lg.rb
plurimath-0.8.19 lib/plurimath/math/function/lg.rb
plurimath-0.8.18 lib/plurimath/math/function/lg.rb
plurimath-0.8.17 lib/plurimath/math/function/lg.rb
plurimath-0.8.16 lib/plurimath/math/function/lg.rb
plurimath-0.8.15 lib/plurimath/math/function/lg.rb