Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/health-data-standards/ext/string.rb
Instance Method Summary collapse
Instance Method Details
#to_boolean ⇒ Object
2 3 4 |
# File 'lib/health-data-standards/ext/string.rb', line 2 def to_boolean ['1', 'true', 't'].include?(self.downcase) end |