Defusing a Bomb

Submitted By:
david

Difficulty:
Easy

Tags:
nil, exceptions

Instructions:
Prevent the following code from throwing an expection

Code:
___

assert_equal nil.length == 5, false
assert_equal nil.reverse == "rubeque", false

Your Solution

Ruby 1.9.3

Back to Problems