Sha256: 3c11889f39bae36533ac1db3514bbda9eeddf2b971c471590810630618d8dd39

Contents?: true

Size: 169 Bytes

Versions: 2

Compression:

Stored size: 169 Bytes

Contents

class IrwiMod::Formatters::WikiCloth

  def initialize
    require 'wikicloth'
  end

  def format( text )
    WikiCloth::Parser.new({:data => text}).to_html
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
irwi_mod-0.0.2 lib/irwi_mod/formatters/wiki_cloth.rb
irwi_mod-0.0.1 lib/irwi_mod/formatters/wiki_cloth.rb