sonam1604/sea-c17-ruby — pull request #5 by ryansobol (2014-08-03 04:07:00+00:00)
Title: Grade for Class 6 Assignment

Good job, Sonam.

My overall comments:

- Use the `{}` literal to define a new Hash object and assign it to a variable. There's no need to use iteration.
- Use the `[]` method to directly access a value by a key. There's no need to use iteration.

For example:

```ruby
some_hash = { "one" => 1, "two" => 2 }
some_hash["one"] #=> 1
```

- Be mindful of indentation for code blocks, methods, etc.
- Be mindful of spaces between operators

#### Exercise 1

- No crashes, works as expected. 4 points

#### Exercise 2

- No crashes, but doesn't work as expected. 3 points

This output is incorrect.

```
$ ruby 2_happy_birthday.rb 2008 8 1
The birth date is 2008-08-01 00:00:00 UTC
CHEER!
CHEER!
CHEER!
CHEER!
CHEER!
```

While this output is correct.

```
$ ruby 2_happy_birthday.rb 2008 8 1
The birth date is 2008-08-01 00:00:00 UTC
CHEER!
CHEER!
CHEER!
CHEER!
CHEER!
CHEER!
```

#### Exercise 3

- No crashes, works as expected. 4 points

#### Exercise 4

- No crashes, works as expected. 4 points

#### Exercise 5

- No crashes, works as expected. 4 points

#### Total

`4 + 3 + 4 + 4 + 4 = 19` :star: