Class: FalseClass

Inherits:
Object show all
Defined in:
lib/errgonomic/core_ext/blank.rb

Instance Method Summary collapse

Instance Method Details

#blank?true

false is blank:

false.blank? # => true

Returns:

  • (true)


71
72
73
# File 'lib/errgonomic/core_ext/blank.rb', line 71

def blank?
  true
end

#present?Boolean

:nodoc:

Returns:

  • (Boolean)


75
76
77
# File 'lib/errgonomic/core_ext/blank.rb', line 75

def present? # :nodoc:
  false
end