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

Good job, John.

- Thoroughly test before submitting
- Study the solutions and changes provided

#### Exercise 1

- No crashes, works as expected. 4 points

#### Exercise 2

- No crashes, works as expected. 4 points

#### Exercise 3

- Crashes, but is fixed easily. 2 points

The output:

```
$ ruby 3_birthday_helper_read.rb
3_birthday_helper_read.rb:50:in `

': undefined method `capitalize' for nil:NilClass (NoMethodError)
```

Should be:

```
$ ruby 3_birthday_helper_read.rb
Usage: 3_birthday_helper_read.rb NAME
```

#### Exercise 4

- Crashes, but is fixed easily. 2 points

The output:

```
$ ruby 4_birthday_helper_write.rb
4_birthday_helper_write.rb:46:in `

': undefined method `capitalize' for nil:NilClass (NoMethodError)
```

Should be:

```
$ ruby 4_birthday_helper_write.rb
Usage: 4_birthday_helper_write.rb NAME YEAR MONTH DAY
```

Also, this output:

```
$ ruby 4_birthday_helper_write.rb Frank 1944 1 29
Birthday 1944-01-29 00:00:00 UTC saved for Frank

$ ruby 3_birthday_helper_read.rb Frank
./3_birthday_helper_read.rb:62:in `

': undefined method `utc' for "1944-01-29 00:00:00 UTC":String (NoMethodError)
```

Should be:

```
$ ruby 4_birthday_helper_write.rb Frank 1944 1 29
Birthday 1944-01-29 00:00:00 UTC saved for Frank

$ ruby 3_birthday_helper_read.rb Frank
Frank will be 71 on 2015-01-28
```

#### Exercise 5

- No crashes, works as expected. 4 points

#### Total

`4 + 4 + 2 + 2 + 4 = 16`