From 27c066998bea20387d4c33e504145496aad1b344 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Mon, 21 Apr 2014 06:31:59 -0700 Subject: Add debug setting for verbose output. --- dinobot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dinobot.rb') diff --git a/dinobot.rb b/dinobot.rb index 9b33894..43b21c8 100644 --- a/dinobot.rb +++ b/dinobot.rb @@ -153,7 +153,7 @@ module Dinobot def run_methods(methods) methods.each do |m| - @logger.info "Executing method: #{m.inspect}" + @logger.info "Executing method: #{m.inspect}" if @config.data[:debug] send(*m) end end -- cgit v1.2.3-70-g09d2