Class: TrueClass

Inherits:
Object show all
Defined in:
lib/moon/packages/std/core_ext/true_class.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Always returns false.

Returns:


14
15
16
# File 'lib/moon/packages/std/core_ext/true_class.rb', line 14

def blank?
  false
end

#presencetrue

Always returns true.

Returns:

  • (true)

7
8
9
# File 'lib/moon/packages/std/core_ext/true_class.rb', line 7

def presence
  true
end