Removes all elements from self.
self
a = [ "a", "b", "c", "d", "e" ] a.clear #=> [ ]
Please login to continue.
Please login to continue.