Sha256: d3c833285ebbc1f0bc94df56eb5735bdad2ff66cd9aadf72a63fb257835c140e

Contents?: true

Size: 148 Bytes

Versions: 4

Compression:

Stored size: 148 Bytes

Contents

class Irwi::Formatters::RedCloth

  def initialize
    require 'redcloth'
  end

  def format( text )
    ::RedCloth.new( text ).to_html
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
irwi-0.5.0 lib/irwi/formatters/red_cloth.rb
irwi-0.4.2 lib/irwi/formatters/red_cloth.rb
irwi-0.4.1 lib/irwi/formatters/red_cloth.rb
irwi-0.4.0 lib/irwi/formatters/red_cloth.rb