module Eggshell::ProcessHandler

Core interface for processing content plugins. @param String type The name of the action to take (note that a handler can support multiple functions). @param Array args The arguments supplied to the handler within the content (e.g. `p(arg1,arg2,…). text`) @param Array lines A collection of {@see Line}, {{Handler}}, and {{String}} objects to convert. This may also include nested document sections. @param Object out The output object to write data to. Must support {{<<}} and {{join(String)}} methods. @param Integer call_depth The nesting level of the current call.

Public Instance Methods

process(type, args, lines, out, call_depth = 0) click to toggle source
# File lib/eggshell.rb, line 58
def process(type, args, lines, out, call_depth = 0)
end