lib/plurimath/math/symbols/downarrowbar.rb in plurimath-0.8.12 vs lib/plurimath/math/symbols/downarrowbar.rb in plurimath-0.8.13
- old
+ new
@@ -1,12 +1,12 @@
module Plurimath
module Math
module Symbols
class Downarrowbar < Symbol
INPUT = {
- unicodemath: [["⤓"], parsing_wrapper(["DownArrowBar", "downarrowbar"])],
- asciimath: [["⤓"], parsing_wrapper(["DownArrowBar", "downarrowbar"])],
+ unicodemath: [["⤓"], parsing_wrapper(["DownArrowBar", "downarrowbar"], lang: :unicode)],
+ asciimath: [["⤓"], parsing_wrapper(["DownArrowBar", "downarrowbar"], lang: :asciimath)],
mathml: ["⤓"],
latex: [["DownArrowBar", "downarrowbar", "⤓"]],
omml: ["⤓"],
html: ["⤓"],
}.freeze
@@ -15,10 +15,10 @@
def to_latex
"\\DownArrowBar"
end
def to_asciimath
- parsing_wrapper("downarrowbar")
+ parsing_wrapper("downarrowbar", lang: :asciimath)
end
def to_unicodemath
Utility.html_entity_to_unicode("⤓")
end