Esempio n. 1
0
 def __init__(self):
     '''Initialize wiht a sandwich and a gin and tonic.'''
     Meal.__init__(self, 'sandwich', 'gin and tonic')
     self.setName('midday meal')
Esempio n. 2
0
 def __init__(self):
     '''Initialize with steak and merlot.'''
     Meal.__init__(self, 'steak', 'merlot')
     self.setName('dinner')
Esempio n. 3
0
 def __init__(self):
     '''Initialize with an omelet and coffee.'''
     Meal.__init__(self, 'omelet', 'coffee')
     self.setName('breakfast')