Class: Wiki2Go::HTMLFormatter

Inherits:
Formatter show all
Defined in:
lib/Wiki2Go/HTMLFormatter.rb

Instance Attribute Summary

Attributes inherited from LineFormatter

#config

Instance Method Summary collapse

Methods inherited from Formatter

#dump_page_in_template, #format_page, #format_page_in_template, #format_pagelist_in_template, #generate_rss, #generate_rss_from_log, #put_page_in_template

Methods inherited from LineFormatter

#absolute_url, #absolute_url_of_topic, #admin_link, #changes_link, #changes_url, #diff_link, #diff_url, #edit_link, #edit_this_link, #editor_link, #editor_link2, #editor_this_link, #encode_mail_to, #format_line, #formatting_done, #link_to, #link_to_new_page, #make_url, #make_verb_url, #redirect_link, #redirect_url, #removespam_url, #resource_link, #resource_url, #save_url, #search_link, #search_url, #sidebyside_link, #sidebyside_url, #verb_url, #versions_link, #versions_url, #view_link, #view_url, #view_version_link, #view_version_url, #wikiedit_link, #wikiedit_this_link

Constructor Details

#initialize(web, storage, config, generate_html, editable) ⇒ HTMLFormatter

Returns a new instance of HTMLFormatter.


14
15
16
# File 'lib/Wiki2Go/HTMLFormatter.rb', line 14

def initialize(web,storage,config,generate_html,editable)
  super(web,storage,config,generate_html,editable)
end

Instance Method Details


18
19
20
# File 'lib/Wiki2Go/HTMLFormatter.rb', line 18

def format_forced_link(link)
  '{' + link + '}'
end

#format_wiki_word(word) ⇒ Object


22
23
24
# File 'lib/Wiki2Go/HTMLFormatter.rb', line 22

def format_wiki_word(word)
  word
end