Sha256: 40c550bdf4d5ff0ba78842705b0a48cd4b3d7d2ee5449b9e363dbc2e385e357d

Contents?: true

Size: 250 Bytes

Versions: 1

Compression:

Stored size: 250 Bytes

Contents

require 'wparser/break'
require 'wparser/inline/inline'
require 'wparser/block/block'

class Parser
  def parse text
    text = Break.parse(text)
    text = Inline.parse(text)
    text = Block.parse(text)

    #html = text.to_html
    text
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wparser-0.0.2 lib/wparser/parser.rb