blob: 851fca2e6f61313b4ce285e69d773f02c3264d89 [file] [log] [blame]
enum MealType { "rice", "noodles", "other" };
interface Meal {
attribute MealType type;
attribute float size; // in grams
void initialize(MealType type, float size);
};