Sha256: e17aa8ac498d7a8eb778741529339f132ccc525ed7fd56d65cb58e3286b90066
Contents?: true
Size: 190 Bytes
Versions: 1
Compression:
Stored size: 190 Bytes
Contents
class Array def remove_blanks self.reject{ |e| e.blank? } end def remove_first_element self[1..self.size] end def remove_last_element self[0..self.size-2] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flash_extensions-0.0.1 | lib/flash_extensions/extensions/array_extension.rb |