Sha256: 6fb731d1788ca2e5fbaab64bbd7e365dfd6969b918f3252eca5aa1e3d0219bc7
Contents?: true
Size: 609 Bytes
Versions: 3
Compression:
Stored size: 609 Bytes
Contents
# 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
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
crystal-0.0.13 | lib/crystal/conveyor.rb |
crystal-0.0.12 | lib/crystal/conveyor.rb |
crystal_ext-0.0.11 | lib/crystal/conveyor.rb |