Sha256: f035449632d23c4bcaa7a714e7fe82933f73c6010786612534d2fb6b2ea7844d

Contents?: true

Size: 392 Bytes

Versions: 7

Compression:

Stored size: 392 Bytes

Contents

module Mdoc
  class Processor
    # add processors apply before self
    def pre_processors
      []
    end

    # apply those processors after self
    def post_processors
      []
    end

    # do the real jobs, raise for errors
    def process!(document); end

    # by default, can not perform more than one times for a single document
    def repeatable?
      false
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mdoc-0.0.11 lib/mdoc/processor.rb
mdoc-0.0.10 lib/mdoc/processor.rb
mdoc-0.0.9 lib/mdoc/processor.rb
mdoc-0.0.8 lib/mdoc/processor.rb
mdoc-0.0.7 lib/mdoc/processor.rb
mdoc-0.0.6 lib/mdoc/processor.rb
mdoc-0.0.5 lib/mdoc/processor.rb