class Ovec::TextNode

Attributes

text[R]

Public Class Methods

new(text) click to toggle source
# File lib/ovec/nodes.rb, line 89
def initialize(text)
        @text = text
end

Public Instance Methods

length() click to toggle source
# File lib/ovec/nodes.rb, line 93
def length
        text.length
end
to_tex() click to toggle source
# File lib/ovec/nodes.rb, line 97
def to_tex
        text
end