module MfDebugger
Public Class Methods
mf_debug(msg,&block)
click to toggle source
# File lib/metric_fu.rb, line 32 def self.mf_debug(msg,&block) if MfDebugger::Logger.debug_on if block_given? block.call end STDOUT.puts msg end end
Public Instance Methods
mf_debug(msg,&block)
click to toggle source
# File lib/metric_fu.rb, line 40 def mf_debug(msg,&block) if block_given? MfDebugger.mf_debug(msg,&block) else MfDebugger.mf_debug(msg) end end