lib/vedeu/templating/preprocessor.rb in vedeu-0.4.56 vs lib/vedeu/templating/preprocessor.rb in vedeu-0.4.57
- old
+ new
@@ -1,7 +1,8 @@
module Vedeu
+ # Provides means to use templates with Vedeu.
module Templating
# preprocess
# takes a line at a time
# splits line into component parts e.g. text1, ruby, text1
@@ -13,10 +14,9 @@
# 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)