lib/cmds/debug.rb in cmds-0.1.5 vs lib/cmds/debug.rb in cmds-0.2.0
- old
+ new
@@ -1,9 +1,9 @@
require 'logger'
# debug logging stuff
-module Cmds
+class Cmds
module Debug
# constants
# change the color of debug output by thread name (if present)
@@ -96,6 +96,6 @@
def self.debug msg, values = {}
# don't even bother unless debug logging is turned on
return unless Debug.on?
Debug.logger.debug Debug.format(msg, values)
end
-end # module Cmds
+end # class Cmds
\ No newline at end of file