Class: NilClass

Inherits:
Object
  • Object
show all
Defined in:
lib/asciidoctor/core_ext/nil_or_empty.rb

Overview

A core library extension that defines the method nil_or_empty? as an alias to optimize checks for nil? or empty? on common object types such as NilClass, String, Array, Hash, and Numeric.