Sha256: 4aa20e2af35f2fca6a8e225d030d0d26c94da2b34d35a83ea967afcb4f30f2b9

Contents?: true

Size: 261 Bytes

Versions: 3

Compression:

Stored size: 261 Bytes

Contents

module Infoboxer
  module Tree
    # Represents node of math formulae marked with TeX
    #
    # See also: https://en.wikipedia.org/wiki/Help:Displaying_a_formula
    class Math < Text
      def text
        "<math>#{super}</math>"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
infoboxer-0.3.0 lib/infoboxer/tree/math.rb
infoboxer-0.2.8 lib/infoboxer/tree/math.rb
infoboxer-0.2.7 lib/infoboxer/tree/math.rb