Module: Spirit::Render::Processable
Overview
Provides methods to attach processors.
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#postprocess(document) ⇒ Object
42 43 44 |
# File 'lib/spirit/render/processable.rb', line 42 def postprocess(document) invoke_callbacks_in_reverse :postprocess, document end |
#preprocess(document) ⇒ Object
37 38 39 40 |
# File 'lib/spirit/render/processable.rb', line 37 def preprocess(document) instantiate_processors document invoke_callbacks :preprocess, document end |