lib/trac-wiki.rb in trac-wiki-0.1.9 vs lib/trac-wiki.rb in trac-wiki-0.1.12
- old
+ new
@@ -11,6 +11,9 @@
# This is an alias for calling Creole#parse:
# TracWiki.new(text).to_html
def self.render(text, options = {})
Parser.new(text, options).to_html
end
+ def self.parser(text, options = {})
+ Parser.new(text, options)
+ end
end