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
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/active_rdf_log.rb', line 18 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 |