module Eggshell::BaseHandler

Core interface for plugins.

Public Instance Methods

set_processor(proc, opts = nil) click to toggle source

Lets the handler attach itself to the processor instance. @param Eggshell::Processor proc @param Hash opts Optional parameters. Potential use cases might include only handling a subset of possible actions. Think of this as a way to sandbox behavior.

# File lib/eggshell.rb, line 45
def set_processor(proc, opts = nil)
        @eggshell = proc
end