Lesson 19 of 26 · +80 xp

Nil Check

nil? method.

Explained simply

Your task

Write: puts 'empty' if name.nil?

nil.ruby
← Back