summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/DataModels/ingredients.ts
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-12-02 10:54:41 -0500
committerTucker Evans <tuckerevans24@gmail.com>2019-12-02 10:58:11 -0500
commit737063651a31b05631fbb3fae5803da5db0ee389 (patch)
treeffa520a5415f0a5cfbfffe9ffa15bd6b2f0422ca /recipeBuddy/src/app/DataModels/ingredients.ts
parent74855d03f44adf2e77d5d6af38e18e1cfe45e700 (diff)
Fix Ingredients as array in recipe
Diffstat (limited to 'recipeBuddy/src/app/DataModels/ingredients.ts')
-rw-r--r--recipeBuddy/src/app/DataModels/ingredients.ts29
1 files changed, 0 insertions, 29 deletions
diff --git a/recipeBuddy/src/app/DataModels/ingredients.ts b/recipeBuddy/src/app/DataModels/ingredients.ts
deleted file mode 100644
index 6f96e69..0000000
--- a/recipeBuddy/src/app/DataModels/ingredients.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-export class Ingredients {
- private names: string[];
- private amounts: number[];
- private units: string[];
- private types: string[];
-
- public constructor(names: string[], amounts: number[], units: string[], types: string[]) {
- this.names = names;
- this.amounts = amounts;
- this.units = units;
- this.types = types;
- }
-
- public getNames(): string[] {
- return this.names;
- }
-
- public getAmounts(): number[] {
- return this.amounts;
- }
-
- public getUnits(): string[] {
- return this.units;
- }
-
- public getTypes(): string[] {
- return this.types;
- }
-}