Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/eric_tools/array.rb

Instance Method Summary collapse

Instance Method Details

#to_debugObject



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_loggerObject 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