lib/ramaze/option/holder.rb in manveru-ramaze-2008.07 vs lib/ramaze/option/holder.rb in manveru-ramaze-2008.08

- old
+ new

@@ -102,20 +102,10 @@ def cache find_from_aliases(@cache, :cache_aliases, Ramaze, "ramaze/cache") end def sourcereload=(interval) - if interval - if interval.is_a?(Numeric) - @sourcereload = interval - Ramaze::SourceReload.restart - else - Log.warn("sourcereload= %p not Numeric, ignoring." % interval) - end - else - @sourcereload = interval - Ramaze::SourceReload.shutdown - end + Ramaze::Reloader::OPTIONS[:cooldown] = interval end private def find_from_aliases(name, alias_key, mod, path)