calling methods on nil raises a NoMethodError, with message 'undefined method'
nil has a few methods: nil?, to_s, and inspect