Class: TrueClass

Inherits:
Object show all
Includes:
Boolean
Defined in:
lib/overload/blank.rb,
lib/overload/boolean.rb

Constant Summary

Constants included from Boolean

Boolean::FALSE_VALUES, Boolean::TRUE_VALUES

Instance Method Summary collapse

Methods included from Boolean

parse

Instance Method Details

#blank?Boolean

Returns:



36
37
38
# File 'lib/overload/blank.rb', line 36

def blank?
  false
end

#to_iObject



23
24
25
# File 'lib/overload/boolean.rb', line 23

def to_i
  1
end