ruboto/ruboto

View on GitHub
lib/ruboto/core_ext/array.rb

Summary

Maintainability
A
0 mins
Test Coverage
# Add an "indent" method to Array
class Array
  def indent
    flatten.compact.map{|i| "  " + i}
  end
end