Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/string_to_boolean.rb
Instance Method Summary collapse
Instance Method Details
#to_bool ⇒ Object
4 5 6 |
# File 'lib/string_to_boolean.rb', line 4 def to_bool true_boolean_strings.include?(self) end |