class Juli::Visitor::Html::Helper::AbstractHelper

Public Class Methods

conf_template() click to toggle source

called on 'juli init' to generate config sample template.

# File lib/juli/visitor/html/helper.rb, line 48
def self.conf_template
  ''
end
new() click to toggle source

called when juli(1) starts.

# File lib/juli/visitor/html/helper.rb, line 53
def initialize
end

Public Instance Methods

on_root(in_file, root, visitor) click to toggle source

called on each parsed document

# File lib/juli/visitor/html/helper.rb, line 61
def on_root(in_file, root, visitor)
end
run(*args) click to toggle source

This will be a helper like 'abstract_helper(args)'

# File lib/juli/visitor/html/helper.rb, line 65
def run(*args)
end
set_conf_default(conf) click to toggle source

called on setting up conf to set default key=val

# File lib/juli/visitor/html/helper.rb, line 57
def set_conf_default(conf)
end