Do by April 4.
git clone http://github.com/turingschool/enums-exercises
Do the following in order:
* Create a student. | |
* They should have a name. | |
* They should have a house. | |
* They should have a method called #name that prints to screen, "Hello, my name is name and I'm in house" | |
* They should have a method that returns (your choice of spell" | |
* Add a method called get_points that adds a number of points as an argument. | |
* Add a method called points that tells us how many points the student has. |
Justin: Who is Roy Fielding, baby?
Selena: Some guy. He’s smart.
Justin: Oh? What did he do?
Selena: He helped write the first web servers and then did a ton of research explaining why the web works the way it does. His name is on the specification for the protocol that is used to get pages from servers to your browser.
Justin: How does it work?
Time to practice. I'm going to give you two arrays.
chocolate = ["Ritual",
"Chuao",
"Chocolove",
"Scharffen Berger"]
peanut_butter = ["Peter Pan",
"Skippy",
"Justin's",
By Ramona Flour et al. | |
1. Being a woman is kind of like being a cyclist in a city where all the cars represent men. | |
2. You're supposed to be able to share the road equally with cars, but that's not how it works. | |
3. The roads are built for cars and you spend a great deal of physical and mental energy being defensive and trying not to get hurt. | |
4. Some of the cars WANT you to get hurt. They think you don't have any place on the road at all. | |
5. And if you do get hurt by a car, everyone makes excuses that it's your fault. | |
6. Bicycle lanes are built just for you, and then the cars drive in those too. | |
7. And you can't go out at night because cars will run right over you. | |
8. You better watch out for the drunk ones. |
This exercise is intended to help you assess your progress with the concepts and techniques we've covered during the week.
When complete, fill out this form.
For these questions, write a short snippet of code that meets
the requirement. In cases where the question mentions a "given"
data value, use the variable given
to refer to it (instead of re-writing