Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/eric_tools/array.rb
Instance Method Summary collapse
- #to_debug ⇒ Object
- #to_logger ⇒ Object (also: #to_info)
Instance Method Details
#to_debug ⇒ Object
8 9 10 11 12 |
# File 'lib/eric_tools/array.rb', line 8 def to_debug self.each { |item| ((item||'').to_s).to_debug } end |
#to_logger ⇒ Object Also known as: to_info
2 3 4 5 6 |
# File 'lib/eric_tools/array.rb', line 2 def to_logger self.each { |item| ((item||'').to_s).to_logger } end |