Class: Logger
- Inherits:
-
Object
- Object
- Logger
- Defined in:
- lib/active_rdf_log.rb
Instance Method Summary collapse
Instance Method Details
#debug_pp(message, variable) ⇒ Object
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/active_rdf_log.rb', line 86 def debug_pp(, variable) if variable.respond_to?(:join) if variable.empty? debug(sprintf(, "empty")) else debug(sprintf(, variable.join(', '))) end else if variable.nil? debug(sprintf(, 'empty')) else debug(sprintf(, variable)) end end end |