Class: NilClass

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#to_boolObject



36
37
38
# File 'lib/toolbox/boolean.rb', line 36

def to_bool
  self
end