Class: MediaWikiSignedWikiGenerator

Inherits:
MediaWikiWalker show all
Defined in:
lib/mediacloth/mediawikisignedwikigenerator.rb

Instance Attribute Summary collapse

Attributes inherited from MediaWikiWalker

#params, #template_handler

Instance Method Summary collapse

Methods inherited from MediaWikiWalker

#link_handler, #link_handler=

Instance Attribute Details

#signed_wikiObject (readonly)

Returns the value of attribute signed_wiki.



6
7
8
# File 'lib/mediacloth/mediawikisignedwikigenerator.rb', line 6

def signed_wiki
  @signed_wiki
end

Instance Method Details

#parse(ast, wiki) ⇒ Object



8
9
10
11
12
13
# File 'lib/mediacloth/mediawikisignedwikigenerator.rb', line 8

def parse(ast, wiki)
    @signed_wiki = wiki
    #For supporting multiple signatures in wiki
    @index_inc = 0
    super(ast)
end