class RT::RTVisitor
Attributes
Public Class Methods
Source
# File lib/rt/rtvisitor.rb, line 23 def self.visit(parsed) self::new.visit(parsed) end
Public Instance Methods
Source
# File lib/rt/rtvisitor.rb, line 27 def visit(parsed) @filename = @charset = nil @rt = parsed @header = @rt.header @body = @rt.body @caption = @rt.config['caption'] setup + visit_Caption + visit_Header + visit_Body + teardown end
Private Instance Methods
Source
# File lib/rt/rtvisitor.rb, line 9 def each_cell(ary) ary.each do |x| if x.class == RT::RTCell yield x end end end