Sha256: 733a2ae0422b162c01de97ac199b05db8c55c16aa0b18f100f54fb6e6e6a226b

Contents?: true

Size: 380 Bytes

Versions: 6

Compression:

Stored size: 380 Bytes

Contents

# frozen_string_literal: true

require_relative "unary_function"

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

        def to_omml_without_math_tag(display_style)
          [r_element("gcd", rpr_tag: false), omml_value(display_style)]
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
plurimath-0.6.0 lib/plurimath/math/function/gcd.rb
plurimath-0.5.0 lib/plurimath/math/function/gcd.rb
plurimath-0.4.4 lib/plurimath/math/function/gcd.rb
plurimath-0.4.3 lib/plurimath/math/function/gcd.rb
plurimath-0.4.2 lib/plurimath/math/function/gcd.rb
plurimath-0.4.1 lib/plurimath/math/function/gcd.rb