-
Notifications
You must be signed in to change notification settings - Fork 1
tmcmh/Homework_for_20120515
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
make a Candy class has_chocolate? (boolean) name chewy? (boolean) gluten_free? (boolean) calorie_count main_color make three different candies in an array use git use different files make these methods: has_chocolate_and_is_chewy? leave_in_the_sun if has chocolate, say "help i'm melting" if name is "Pop Tart" say "mmmmmm" put_in_freezer if used to be "chewy" now it is not "chewy" low_calorie? true if calorie_count is below 5 make a generic method to display all attributes of a candy BONUS: make a method (IN Candy) called "friends" which returns alll Candies in the global candy array which have the same name. **preq to bonus: make ten candies.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published