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.13.0.rc.0 lib/ruboto/core_ext/array.rb
ruboto-0.12.0.rc.0 lib/ruboto/core_ext/array.rb
ruboto-0.11.0 lib/ruboto/core_ext/array.rb
ruboto-0.11.0.rc.1 lib/ruboto/core_ext/array.rb
ruboto-0.11.0.rc.0 lib/ruboto/core_ext/array.rb
ruboto-0.10.2 lib/ruboto/core_ext/array.rb
ruboto-0.10.2.rc.0 lib/ruboto/core_ext/array.rb
ruboto-0.10.1 lib/ruboto/core_ext/array.rb
ruboto-0.10.0 lib/ruboto/core_ext/array.rb
ruboto-0.10.0.rc.1 lib/ruboto/core_ext/array.rb
ruboto-0.10.0.rc.0 lib/ruboto/core_ext/array.rb
ruboto-0.9.0 lib/ruboto/core_ext/array.rb
ruboto-0.9.0.rc.1 lib/ruboto/core_ext/array.rb
ruboto-0.9.0.rc.0 lib/ruboto/core_ext/array.rb
ruboto-0.8.1 lib/ruboto/core_ext/array.rb
ruboto-0.8.0 lib/ruboto/core_ext/array.rb
ruboto-0.7.0 lib/ruboto/core_ext/array.rb
ruboto-0.6.0 lib/ruboto/core_ext/array.rb
ruboto-0.5.4 lib/ruboto/core_ext/array.rb
ruboto-0.5.3 lib/ruboto/core_ext/array.rb