Class: NilClass

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


43
44
45
# File 'lib/toolbox/boolean.rb', line 43

def to_bool
  self
end