Flowdock
compact() public

Returns a copy of self with all nil elements removed.

   [ "a", nil, "b", nil, "c", nil ].compact
                     #=> [ "a", "b", "c" ]
Show source
Register or log in to add new notes.