class Array
Add an “indent” method to Array
Public Instance Methods
indent()
click to toggle source
# File lib/ruboto/core_ext/array.rb, line 3 def indent flatten.compact.map{|i| " " + i} end
Add an “indent” method to Array
# File lib/ruboto/core_ext/array.rb, line 3 def indent flatten.compact.map{|i| " " + i} end