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

Ben,

### Check your solutions more thoroughly before submitting

#### Exercise 1

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

This output:

```
$ ruby 1_one_billion_seconds.rb
2026-09-12 01:46:40 -0500
```

Should be:

```
$ ruby 1_one_billion_seconds.rb
I was born on 1995-01-04 00:00:00 -0500
And I turn one billion seconds old on 2026-09-12 01:46:40 -0500
```

#### Exercise 2

- Crashes, but is fixed easily. 2 points

This output:

```
$ ruby 2_happy_birthday.rb 2008 11 8
./2_happy_birthday.rb:82:in `

': undefined local variable or method `age' for main:Object (NameError)
```

Should be this:

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

#### Exercise 3

- Crashes, but is fixed easily. 2 points

```
$ ruby 3_birthday_helper_read.rb Andre3000
./3_birthday_helper_read.rb:58:in `

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

```
$ ruby 3_birthday_helper_read.rb Andre3000
Unknown birth date for 'Andre3000'
```

#### Exercise 4

- No crashes, works as expect. 4 points

#### Exercise 5

- Crashes, but is fixed easily. 2 points

This output:

```
$ ruby 5_arabic_numbers.rb
./5_arabic_numbers.rb:129:in `

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

Should be:

```
$ ruby 5_arabic_numbers.rb
Usage: 5_arabic_numbers.rb ROMAN_NUMERAL
```

- Also, doesn't work as expected.

This output:

```
$ ruby 5_arabic_numbers.rb mcmxcix
1009
```

Should be:

```
$ ruby 5_arabic_numbers.rb mcmxcix
1999
```

- Study the solution provided

#### Total

`3 + 2 + 2 + 4 + 2 = 13`