We extend the Object class with a method that checks if the receiver is nil or empty
[Source]
# File lib/rbot/irc.rb, line 43 43: def nil_or_empty? 44: return true unless self 45: return true if self.respond_to? :empty? and self.empty? 46: return false 47: end
[Validate]