balinlarson/sea-c17-ruby — pull request #6 by ryansobol (2014-08-04 18:46:04+00:00)
Title: Grade for Class 7 Assignment

Good job, Balin.

**Study the changes provided**

#### Exercise 1

- No crashes, works as expected. 4 points
- The `ret` return variable is unnecessary
- Don't forget about String multiplication with an Integer
- Break your habit of using an index variable for iteration. They're unnecessary when using the `each` iterator method.

#### Exercise 2

- No crashes, works as expected. 4 points
- Add a single newline between method definitions.

#### Exercise 3

- No crashes, works as expected. 4 points
- Add a single newline between method definitions.
- Prefer the modifier usage of `if` statements with a single line body
- Prefer using the `fruit` getter method instead of the `@fruit` instance variable

#### Exercise 4

- No crashes, works as expected. 4 points
- The `==` evaluates to either `true` or `false` so just return that.

#### Exercise 5

- No crashes, works as expected. 4 points
- Prefer the modifier usage of `if` statements with a single line body
- Prefer using the `fruit` getter method instead of the `@fruit` instance variable

#### Total

`4 + 4 + 4 + 4 + 4 = 20` :star2: