64 65 66 67 68 69 70
# 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