class Hash
Public Instance Methods
to_debug()
click to toggle source
# File lib/eric_tools/hash.rb, line 10 def to_debug self.each_pair { |k, v| info1 = '' info1 << ((k||'').to_s rescue '') <<":" << ((v||'').to_s rescue '') << "\n" ApplicationController.logger.debug info1 } end
to_logger()
click to toggle source
# File lib/eric_tools/hash.rb, line 2 def to_logger self.each_pair { |k, v| info1 = '' info1 << ((k||'').to_s rescue '') <<":" << ((v||'').to_s rescue '') << "\n" ApplicationController.logger.info info1 } end
Also aliased as: to_info