Module: ObjectToBExtension
- Defined in:
- app/models/object_to_b_extension.rb
Instance Method Summary collapse
-
#to_b ⇒ Object
This method converts the object to the boolean type.
Instance Method Details
#to_b ⇒ Object
This method converts the object to the boolean type. The method returns either true
or false
.
6 7 8 |
# File 'app/models/object_to_b_extension.rb', line 6 def to_b !! self end |