Sha256: abb2ac6bf939d7ac2b61dc15a02e451cea2108514ef3f3f9193c6fc136fb9b05

Contents?: true

Size: 297 Bytes

Versions: 5

Compression:

Stored size: 297 Bytes

Contents

module CabbageDoc
  module Processors 
    class Documentation < Processor
      priority :high

      def perform
        collection.clear!

        config.controllers.call.each do |filename|
          collection.parse!(filename)
        end

        collection.save!
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cabbage_doc-0.0.7 lib/cabbage_doc/processors/documentation.rb
cabbage_doc-0.0.6 lib/cabbage_doc/processors/documentation.rb
cabbage_doc-0.0.5 lib/cabbage_doc/processors/documentation.rb
cabbage_doc-0.0.4 lib/cabbage_doc/processors/documentation.rb
cabbage_doc-0.0.3 lib/cabbage_doc/processors/documentation.rb