Class: FalseClass

Inherits:
Object show all
Defined in:
lib/lite/ruby/boolean.rb

Instance Method Summary collapse

Instance Method Details

#to_boolObject Also known as: to_b



6
7
8
# File 'lib/lite/ruby/boolean.rb', line 6

def to_bool
  self
end

#to_iObject



12
13
14
# File 'lib/lite/ruby/boolean.rb', line 12

def to_i
  0
end