class FalseClass
Ruby’s core FalseClass
(the singleton class consisting of the false
object). See documentation for version 2.1.5, 2.0.0, or 1.9.3.
Public Instance Methods
blank?()
click to toggle source
false
is blank by definition; when called on false
, the #blank?
method will return true
:
false.blank? # => true
# File lib/reactive_support/core_ext/object/blank.rb 180 def blank? 181 true 182 end
present?()
click to toggle source
false
is not present by definition; when called on false
, the #present?
method will return false
:
false.present? # => false
# File lib/reactive_support/core_ext/object/blank.rb 188 def present? 189 false 190 end