Sha256: 4b4808941d1832f201f3c1ea472b512303581877e91470208cddf370b9f767de

Contents?: true

Size: 107 Bytes

Versions: 47

Compression:

Stored size: 107 Bytes

Contents

# Add an "indent" method to Array
class Array
  def indent
    flatten.compact.map{|i| "  " + i}
  end
end

Version data entries

47 entries across 47 versions & 2 rubygems

Version Path
ruboto-0.5.2 lib/ruboto/core_ext/array.rb
ruboto-core-0.5.1 lib/ruboto/core_ext/array.rb
ruboto-core-0.4.1.rc.4 lib/ruboto/core_ext/array.rb
ruboto-core-0.4.0 lib/ruboto/core_ext/array.rb
ruboto-core-0.3.3 lib/ruboto/core_ext/array.rb
ruboto-core-0.2.1 lib/ruboto/core_ext/array.rb
ruboto-core-0.1.0 lib/ruboto/core_ext/array.rb