# Conveyor is the heart of Crystal, it allows for Processors to process request and build responce. require 'crystal/environment' [ # 'config', 'params', 'workspace', 'processor', 'conveyor', 'conveyors', 'processors/conveyor_logger', ].each{|f| require "crystal/conveyor/#{f}"} Crystal.metaclass_eval do inject :conveyors => :conveyors end # # Initializations # crystal do register :workspace, :scope => :cycle, :depends_on => :environment register :conveyors, :depends_on => :environment do Crystal::Conveyors.new end end Crystal::Config::DEFAULTS['show_exceptions'] = false