Class: NilClass

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/zkt_client/monky_patcher/nil.rb

Overview

Extends the NilClass with additional methods

Instance Method Summary collapse

Methods included from Base

#present?

Instance Method Details

#blank?Boolean

Checks if the object is blank (always true for NilClass)

Returns:

  • (Boolean)

    true, since nil is considered blank



12
13
14
# File 'lib/zkt_client/monky_patcher/nil.rb', line 12

def blank?
  true
end