Class: RT::RTVisitor

### Home Classes Methods

### In Files

- lib/rt/rtvisitor.rb

### Parent

Object

### Methods

- ::new
- ::visit
- #setup
- #teardown
- #visit
- #visit_Body
- #visit_Caption
- #visit_Header

### Class/Module Index

Quicksearch

- RT
- RT::RT2HTMLVisitor
- RT::RT2TXTVisitor
- RT::RTCell
- RT::RTParser
- RT::RTVisitor
- W3M

No matching classes.

# RT::RTVisitor

### Attributes

body[R]
caption[R]
charcode[RW]
filename[RW]
header[R]
rt[R]

### Public Class Methods

new() click to toggle source

    # File lib/rt/rtvisitor.rb, line 19
    def initialize
    end

visit(parsed) click to toggle source

    # File lib/rt/rtvisitor.rb, line 24
    def self.visit(parsed)
      self::new.visit(parsed)
    end

### Public Instance Methods

setup() click to toggle source

    # File lib/rt/rtvisitor.rb, line 38
    def setup
      ""
    end

teardown() click to toggle source

    # File lib/rt/rtvisitor.rb, line 42
    def teardown
      ""
    end

visit(parsed) click to toggle source

    # File lib/rt/rtvisitor.rb, line 28
    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

visit_Body() click to toggle source

    # File lib/rt/rtvisitor.rb, line 54
    def visit_Body
      ""
    end

visit_Caption() click to toggle source

    # File lib/rt/rtvisitor.rb, line 46
    def visit_Caption
      ""
    end

visit_Header() click to toggle source

    # File lib/rt/rtvisitor.rb, line 50
    def visit_Header
      ""
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.