Class: FalseClass

Inherits:
Object show all
Defined in:
lib/extlib/blank.rb,
lib/extlib/boolean.rb,
lib/extlib/try_dup.rb

Overview

class TrueClass

Instance Method Summary collapse

Instance Method Details

#blank?TrueClass

False is always blank.

false.blank?      #=>  true

Returns:



70
71
72
# File 'lib/extlib/blank.rb', line 70

def blank?
  true
end

#try_dupObject



8
9
10
# File 'lib/extlib/boolean.rb', line 8

def try_dup
  self
end