summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/DataModels/step.ts
diff options
context:
space:
mode:
authorschencej <schencej@clarkson.edu>2019-12-09 17:36:10 -0500
committerschencej <schencej@clarkson.edu>2019-12-09 17:36:10 -0500
commit4f2f07dd448739c5b620a4ac5f3457349b737e00 (patch)
tree7efad7cab97f42126446661f2453c1cdf19dc053 /recipeBuddy/src/app/DataModels/step.ts
parent7743f0b8756eefa877f0ab0001617f9d8f6a1528 (diff)
made all data model member variables public
Diffstat (limited to 'recipeBuddy/src/app/DataModels/step.ts')
-rw-r--r--recipeBuddy/src/app/DataModels/step.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipeBuddy/src/app/DataModels/step.ts b/recipeBuddy/src/app/DataModels/step.ts
index 1c1ca7b..06c15c9 100644
--- a/recipeBuddy/src/app/DataModels/step.ts
+++ b/recipeBuddy/src/app/DataModels/step.ts
@@ -1,8 +1,8 @@
export class Step {
- private instruction: string;
- private timer: number;
+ public instruction: string;
+ public timer: number;
- public contructor(instruction: string, timer: number) {
+ public constructor(instruction: string, timer: number) {
this.instruction = instruction;
this.timer = timer;
}