Sha256: ce986e4f59ef31656718d846180f3eaa9f79e305882d218351681463ad5a750c

Contents?: true

Size: 149 Bytes

Versions: 2

Compression:

Stored size: 149 Bytes

Contents

class IrwiMod::Formatters::RedCloth

  def initialize
    require 'RedCloth'
  end

  def format( text )
    RedCloth.new( 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/red_cloth.rb
irwi_mod-0.0.1 lib/irwi_mod/formatters/red_cloth.rb