lib/substation.rb in substation-0.0.9 vs lib/substation.rb in substation-0.0.10.beta2
- old
+ new
@@ -1,7 +1,5 @@
-# encoding: utf-8
-
require 'set'
require 'forwardable'
require 'adamantium'
require 'equalizer'
@@ -32,26 +30,23 @@
# route to a specific action name and pass relevant http params on to the
# action.
module Substation
- # An empty frozen array useful for (default) parameters
- EMPTY_ARRAY = [].freeze
+ # Represent an undefined argument
+ Undefined = Object.new.freeze
- # Error raised when trying to access an unknown processor
- UnknownProcessor = Class.new(StandardError)
-
end
require 'substation/utils'
require 'substation/request'
require 'substation/response'
require 'substation/observer'
require 'substation/chain'
require 'substation/chain/dsl'
require 'substation/processor'
require 'substation/processor/evaluator'
+require 'substation/processor/pivot'
require 'substation/processor/wrapper'
-require 'substation/processor/transformer'
require 'substation/environment'
require 'substation/environment/dsl'
require 'substation/dispatcher'