Class Amalgalite::Boolean
In: lib/amalgalite/boolean.rb
lib/amalgalite/boolean.rb
Parent: Object

Do type conversion on values that could be boolen values into real ‘true’ or ‘false‘

This is pulled from the possible boolean values from PostgreSQL

Methods

Public Class methods

list of downcased strings are potential false values

list of downcased strings are potential false values

Convert val to a string and attempt to convert it to true or false

Convert val to a string and attempt to convert it to true or false

list of downcased strings are potential true values

list of downcased strings are potential true values

[Validate]