Sha256: 82dc1b7a992863edb20b149394d94301f9d598fc086b89d8e76aa5ddbf6b3cae
Contents?: true
Size: 1015 Bytes
Versions: 3
Compression:
Stored size: 1015 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: true require "brandish/processors/common" require "brandish/processors/all" require "brandish/processors/html" require "brandish/processors/latex" module Brandish # All of the available processors provided by Brandish by default are defined # under this module. Under this module, there are a set of modules, all # pertaining to either a format, `All`, or `Common`. `All` processors are # provided for all documents, regardless of format; `Common` processors are # always abstract, and define a set of processors that are required to be # implemented for all formats. If a format does not provide a `Common` # processor, it is considered a bug. module Processors # All of the format modules under the {Processors} module. This is # essentially all modules that aren't named `All` or `Common`. # # @return [<Module>] def self.format_modules (constants - [:All, :Common]).map { |c| Processors.const_get(c) } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
brandish-0.1.3 | lib/brandish/processors.rb |
brandish-0.1.2 | lib/brandish/processors.rb |
brandish-0.1.1 | lib/brandish/processors.rb |