Class: TrueClass

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


19
20
21
# File 'lib/toolbox/boolean.rb', line 19

def to_bool
  self
end