lib/conductor.rb in conductor-0.2.16 vs lib/conductor.rb in conductor-0.3.0
- old
+ new
@@ -2,10 +2,11 @@
require 'conductor/roll_up'
require 'conductor/weights'
require 'conductor/experiment/raw'
require 'conductor/experiment/daily'
require 'conductor/experiment/weight'
+require 'conductor/experiment/history'
class Conductor
MAX_WEIGHTING_FACTOR = 1.25
MINIMUM_LAUNCH_DAYS = 7
DBG = false
@@ -32,9 +33,17 @@
def log(msg)
puts msg if DBG
end
end
+
+ # class Rails
+ # cattr_writer :cache
+ #
+ # def self.cache
+ # []
+ # end
+ # end
end
class Array
def sum_it(attribute)