Class: FalseClass

Inherits:
Object
  • Object
show all
Defined in:
lib/toolbox/boolean.rb

Instance Method Summary collapse

Instance Method Details

#to_boolObject

Implementing to_bool operation that returns self. See the Boolean module for usage


31
32
33
# File 'lib/toolbox/boolean.rb', line 31

def to_bool
  self
end