Class: Array
Overview
Add an “indent” method to Array
Instance Method Summary collapse
Instance Method Details
#indent ⇒ Object
3 4 5 |
# File 'lib/ruboto/core_ext/array.rb', line 3 def indent flatten.compact.map{|i| " " + i} end |