Module: Eggshell::BaseHandler
- Included in:
- BlockHandler, MacroHandler
- Defined in:
- lib/eggshell.rb
Overview
Core interface for plugins.
Instance Method Summary collapse
-
#set_processor(proc, opts = nil) ⇒ Object
Lets the handler attach itself to the processor instance.
Instance Method Details
#set_processor(proc, opts = nil) ⇒ Object
Lets the handler attach itself to the processor instance. a subset of possible actions. Think of this as a way to sandbox behavior.
41 42 43 |
# File 'lib/eggshell.rb', line 41 def set_processor(proc, opts = nil) @eggshell = proc end |