Understanding Absence in Ruby: Present, Blank, Nil, Empty

added by JavaScript Kicks
5/23/2019 3:10:24 PM

233 Views

Have you ever been confused about the different ways to handle missing data in the Ruby language? I know I have, and I'm sure I'm not alone in that. The options Ruby offers come in the form of several methods: "present?", "blank?", "nil?", and "empty?".


0 comments