Addition to w0lf
When working with arrays,
.compactcan be replaced with-[nil]to save 2 chars.
When working with arrays, .compact can be replaced with -[nil] to save 2 chars.
Combined with above -> you can make it even shorter it with -[p]-[p] to save another 2 chars :D.