Search
Ruby uses the - sign to subtract or remove items from an array.
-
The - does not change the original array. A new array is created after removing the specific elements from the array.