added method each to enumerable specification