Class: FalseClass
- Inherits:
-
Object
- Object
- FalseClass
- Defined in:
- lib/basic_support/core_ext/to_boolean.rb,
lib/basic_support/core_ext/to_integer.rb
Instance Method Summary collapse
- #to_b ⇒ Object (also: #to_bool)
- #to_i ⇒ Object (also: #to_integer)
Instance Method Details
#to_b ⇒ Object Also known as: to_bool
18 19 20 |
# File 'lib/basic_support/core_ext/to_boolean.rb', line 18 def to_b self end |
#to_i ⇒ Object Also known as: to_integer
10 11 12 |
# File 'lib/basic_support/core_ext/to_integer.rb', line 10 def to_i 0 end |