summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/DataModels/step.ts
diff options
context:
space:
mode:
Diffstat (limited to 'recipeBuddy/src/app/DataModels/step.ts')
-rw-r--r--recipeBuddy/src/app/DataModels/step.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/recipeBuddy/src/app/DataModels/step.ts b/recipeBuddy/src/app/DataModels/step.ts
index 06c15c9..ef07596 100644
--- a/recipeBuddy/src/app/DataModels/step.ts
+++ b/recipeBuddy/src/app/DataModels/step.ts
@@ -1,14 +1,14 @@
export class Step {
- public instruction: string;
+ public instructions: string;
public timer: number;
- public constructor(instruction: string, timer: number) {
- this.instruction = instruction;
+ public constructor(instructions: string, timer: number) {
+ this.instructions = instructions;
this.timer = timer;
}
- public getInstruction(): string {
- return this.instruction;
+ public getInstructions(): string {
+ return this.instructions;
}
public getTimer(): number {