Module: Paf::CoreExt::Array
- Defined in:
- lib/paf/core_ext/array.rb
Overview
Extend the core Array class with PAF specific processing
Instance Method Summary collapse
Instance Method Details
#condense(separator) ⇒ Object
7 8 9 |
# File 'lib/paf/core_ext/array.rb', line 7 def condense(separator) reject(&:vacant?).join(separator) end |