Sha256: 0616a5c4e4c2a7cab312340edb0e370755c8cdfdb66ec8820e30cc9f4983034c

Contents?: true

Size: 213 Bytes

Versions: 4

Compression:

Stored size: 213 Bytes

Contents

class Array
  def to_logger
    self.each { |item|
      ((item||'').to_s).to_logger
    }
  end

  def to_debug
    self.each { |item|
      ((item||'').to_s).to_debug
    }
  end

  alias :to_info :to_logger
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eric_tools-0.0.7 lib/eric_tools/array.rb
eric_tools-0.0.6 lib/eric_tools/array.rb
eric_tools-0.0.5 lib/eric_tools/array.rb
eric_tools-0.0.4 lib/eric_tools/array.rb