Question: Ruby assignment help please! I am not sure if this is correct, but here are the 5 variables I came up with. 5 variables: time

Ruby assignment help please!

I am not sure if this is correct, but here are the 5 variables I came up with.

5 variables: time (ex. breakfast, lunch, or dinner), place (ex. home, school, restaurant), type (ex. pasta, pizza, salad, calories (ex. 700, 600, 550 calories), healthy (true, or false)

I'm not sure what to do for questions 3,4,5. Anything will help. Thanks!

Ruby assignment help please! I am not sure if this is correct,

# # Meals are important and there are a lot of details to keep track of for a meal. # 1. Create a Meal Class. # 2. Have at least 5 variables, with at least one string, integer and boolean type in your Meal class. # 3. Create a method for the class in addition to the initialize method # 4. Create and dsiplay three instances of meals. # 5. call your method on all three instances

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!