class Subconv::TextNode

Node that contains text

Attributes

text[RW]

Public Class Methods

new(text) click to toggle source
# File lib/subconv/caption.rb, line 40
def initialize(text)
  @text = text
end

Public Instance Methods

==(other) click to toggle source
# File lib/subconv/caption.rb, line 44
def ==(other)
  self.class == other.class && @text == other.text
end