projectcypress/health-data-standards

View on GitHub
lib/health-data-standards/ext/string.rb

Summary

Maintainability
A
0 mins
Test Coverage
class String
  def to_boolean
    ['1', 'true', 't'].include?(self.downcase)
  end
end