Class: TrueClass

Inherits:
Object show all
Defined in:
lib/marfa/helpers/classes/true_class.rb

Overview

TrueClass extending

Instance Method Summary collapse

Instance Method Details

#blank?false

Returns:

  • (false)


4
5
6
# File 'lib/marfa/helpers/classes/true_class.rb', line 4

def blank?
  false
end

#present?true

Object isn’t blank

Returns:

  • (true)


10
11
12
# File 'lib/marfa/helpers/classes/true_class.rb', line 10

def present?
  true
end