Class: TrueClass

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

Overview

Extends the TrueClass with additional methods

Instance Method Summary collapse

Methods included from Base

#present?

Instance Method Details

#blank?Boolean

Checks if the object is blank (always false for TrueClass)

Returns:

  • (Boolean)

    false, since true is not considered blank



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

def blank?
  false
end