" I represent many working sets to be performed with as little rest as possible between them. " Class { #name : 'MFTSupersetGroupPrescription', #superclass : 'MFTSetGroupPrescription', #category : 'MyFitnessTracker-Core-Prescription', #package : 'MyFitnessTracker-Core', #tag : 'Prescription' } { #category : 'instance creation' } MFTSupersetGroupPrescription class >> with: firstSet with: secondSet [ ^ self new sets: (OrderedCollection withAll: { firstSet. secondSet }); yourself ] { #category : 'initialization' } MFTSupersetGroupPrescription >> canonicalName [ ^ 'superset' ] { #category : 'validation' } MFTSupersetGroupPrescription >> validate [ sets size >= 2 ifFalse: [ self error: 'Superset must have at least 2 sets.' ] ]