Class: TrueClass

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

Instance Method Summary collapse

Instance Method Details

#blank?false

true is not blank:

true.blank? # => false

Returns:

  • (false)


86
87
88
# File 'lib/errgonomic/core_ext/blank.rb', line 86

def blank?
  false
end

#present?Boolean

:nodoc:

Returns:

  • (Boolean)


90
91
92
# File 'lib/errgonomic/core_ext/blank.rb', line 90

def present? # :nodoc:
  true
end