method

delete

ruby latest stable - Class: Set
delete(o)
public

Deletes the given object from the set and returns self. Use subtract to delete many items at once.