lib/vedeu/templating/preprocessor.rb in vedeu-0.4.32 vs lib/vedeu/templating/preprocessor.rb in vedeu-0.4.33

- old
+ new

@@ -12,17 +12,21 @@ # process # converts JSON streams into line/stream objects with correct attributes # # Pre-processes a template, to convert all lines and lines with directives # into Vedeu::Streams. + # + # @api private class Preprocessor # @param lines [Array<String>] + # @return [Array<Vedeu::Stream>] def self.process(lines) new(lines).process end # @param lines [Array<String>] + # @return [Vedeu::Templating::Preprocessor] def initialize(lines) @lines = lines end # @return [Array<Vedeu::Stream>]