Permalink
Browse files

Processor/Encoder/Analyser lists know about app now, mostly for use o…

…f log
  • Loading branch information...
1 parent ac7ec8d commit 97d9c64930393162fec1b381f07b99e7d55afb81 Mark Evans committed May 3, 2010
Showing with 13 additions and 1 deletion.
  1. +4 −0 lib/dragonfly/analyser_list.rb
  2. +1 −1 lib/dragonfly/app.rb
  3. +4 −0 lib/dragonfly/encoder_list.rb
  4. +4 −0 lib/dragonfly/processor_list.rb
@@ -1,5 +1,9 @@
module Dragonfly
class AnalyserList
include Delegator
+
+ def initialize(app)
+ @app = app
+ end
end
end
@@ -70,7 +70,7 @@ def apps
end
def initialize
- @analysers, @processors, @encoders = AnalyserList.new, ProcessorList.new, EncoderList.new
+ @analysers, @processors, @encoders = AnalyserList.new(self), ProcessorList.new(self), EncoderList.new(self)
@parameters_class = Class.new(Parameters)
@url_handler = UrlHandler.new(@parameters_class)
initialize_temp_object_class
@@ -1,5 +1,9 @@
module Dragonfly
class EncoderList
include Delegator
+
+ def initialize(app)
+ @app = app
+ end
end
end
@@ -1,5 +1,9 @@
module Dragonfly
class ProcessorList
include Delegator
+
+ def initialize(app)
+ @app = app
+ end
end
end

0 comments on commit 97d9c64

Please sign in to comment.