Module: Individual

Defined in:
tomes/spells/group.rb

Overview

A module for giving objects a way to add or remove themselves to their class’s ‘.list`.

Instance Method Summary collapse

Instance Method Details

#delete_from_groupVoid

Adds this object to the Class’s ‘.list` array.

Returns:

  • (Void)


44
45
46
# File 'tomes/spells/group.rb', line 44

def delete_from_group
  this_class.delete(self)
end