lib/negroku/helpers.rb in negroku-2.0.0.pre1 vs lib/negroku/helpers.rb in negroku-2.0.0.pre2

- old
+ new

@@ -5,5 +5,14 @@ end def load_task(name) load File.join(File.dirname(__FILE__), 'tasks', "#{name}.rake") end + +# Define los +def define_logs(namespace, hash) + logs = fetch(:negroku_logs, {}) + + logs[namespace] = hash + + set :negroku_logs, logs +end