Class: Juli::Visitor::Html::Helper::AbstractHelper
- Inherits:
-
Object
- Object
- Juli::Visitor::Html::Helper::AbstractHelper
- Includes:
- Util
- Defined in:
- lib/juli/visitor/html/helper.rb
Direct Known Subclasses
Class Method Summary collapse
-
.conf_template ⇒ Object
called on ‘juli init’ to generate config sample template.
Instance Method Summary collapse
-
#initialize ⇒ AbstractHelper
constructor
called when juli(1) starts.
-
#on_root(in_file, root, visitor) ⇒ Object
called on each parsed document.
-
#run(*args) ⇒ Object
This will be a helper like ‘abstract_helper(args)’.
-
#set_conf_default(conf) ⇒ Object
called on setting up conf to set default key=val.
Methods included from Util
#camelize, conf, find_template, in_filename, juli_repo, mkdir, out_filename, str_limit, str_trim, to_wikiname, underscore, usage, visitor, visitor_list
Constructor Details
#initialize ⇒ AbstractHelper
called when juli(1) starts.
53 54 |
# File 'lib/juli/visitor/html/helper.rb', line 53 def initialize end |
Class Method Details
.conf_template ⇒ Object
called on ‘juli init’ to generate config sample template.
48 49 50 |
# File 'lib/juli/visitor/html/helper.rb', line 48 def self.conf_template '' end |
Instance Method Details
#on_root(in_file, root, visitor) ⇒ Object
called on each parsed document
61 62 |
# File 'lib/juli/visitor/html/helper.rb', line 61 def on_root(in_file, root, visitor) end |
#run(*args) ⇒ Object
This will be a helper like ‘abstract_helper(args)’
65 66 |
# File 'lib/juli/visitor/html/helper.rb', line 65 def run(*args) end |
#set_conf_default(conf) ⇒ Object
called on setting up conf to set default key=val
57 58 |
# File 'lib/juli/visitor/html/helper.rb', line 57 def set_conf_default(conf) end |