Sha256: 064085d5d62f0fe24ba3154be0a5a6565790a21babb76540f7c2032910147687

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 KB

Contents

module Plurimath
  module Math
    module Symbols
      class Paren
        class Lround < Paren
          INPUT = {
            unicodemath: ["("],
            asciimath: ["("],
            mathml: ["("],
            latex: ["("],
            omml: ["("],
            html: ["("],
          }.freeze

          # output methods
          def to_latex
            paren_value
          end

          def to_asciimath
            paren_value
          end

          def to_unicodemath
            Utility.html_entity_to_unicode(paren_value)
          end

          def to_mathml_without_math_tag(_)
            ox_element("mo") << paren_value
          end

          def to_omml_without_math_tag(_)
            paren_value
          end

          def to_html
            paren_value
          end

          def open?
            true
          end

          def close?
            false
          end

          def closing
            Rround
          end

          def paren_value
            "("
          end

          def to_matrices
            "("
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/paren/lround.rb
plurimath-0.8.13 lib/plurimath/math/symbols/paren/lround.rb
plurimath-0.8.12 lib/plurimath/math/symbols/paren/lround.rb
plurimath-0.8.11 lib/plurimath/math/symbols/paren/lround.rb