Sha256: ea3698d1e8485f3c17c219eec24e7a1d4ee7b6496ca924f455867a3f3d6285c0

Contents?: true

Size: 174 Bytes

Versions: 31

Compression:

Stored size: 174 Bytes

Contents

class Blogit::Parsers::TextileParser

  require "redcloth"

  def initialize(content)
    @content = content
  end

  def parsed
    RedCloth.new(@content).to_html
  end

end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
blogit-1.0.0.rc1 lib/blogit/parsers/textile_parser.rb
blogit-0.8.0 lib/blogit/parsers/textile_parser.rb
blogit-0.7.0 lib/blogit/parsers/textile_parser.rb
blogit-0.6.0 lib/blogit/parsers/textile_parser.rb
blogit-0.5.1 lib/blogit/parsers/textile_parser.rb
blogit-0.5.0 lib/blogit/parsers/textile_parser.rb
blogit-0.4.8 lib/blogit/parsers/textile_parser.rb
blogit-0.4.7 lib/blogit/parsers/textile_parser.rb
blogit-0.4.6 lib/blogit/parsers/textile_parser.rb
blogit-0.4.5 lib/blogit/parsers/textile_parser.rb
blogit-0.4.4 lib/blogit/parsers/textile_parser.rb
blogit-0.4.3 lib/blogit/parsers/textile_parser.rb
blogit-0.4.2 lib/blogit/parsers/textile_parser.rb
blogit-0.4.1 lib/blogit/parsers/textile_parser.rb
blogit-0.4.0 lib/blogit/parsers/textile_parser.rb
blogit-0.3.2 lib/blogit/parsers/textile_parser.rb
blogit-0.3.1 lib/blogit/parsers/textile_parser.rb
blogit-0.3.0 lib/blogit/parsers/textile_parser.rb
blogit-0.2.1 lib/blogit/parsers/textile_parser.rb
blogit-0.2.0 lib/blogit/parsers/textile_parser.rb