module FFWD::Processor::ClassMethods

Public Instance Methods

register_processor(name) click to toggle source
# File lib/ffwd/processor.rb, line 64
def register_processor(name)
  unless FFWD::Processor.registry[name].nil?
    raise "Already registered '#{name}'"
  end

  FFWD::Processor.registry[name] = self
end