Module: ToBe::Internal::Constants_

Defined in:
lib/to_be/internal/_str2bool.rb

Constant Summary collapse

FALSEY_PRECISE_STRINGS =
[
  "0",
  "FALSE",
  "False",
  "NO",
  "No",
  "OFF",
  "Off",
  "false",
  "no",
  "off",
]
TRUEY_PRECISE_STRINGS =
[
  "1",
  "ON",
  "On",
  "TRUE",
  "True",
  "YES",
  "Yes",
  "on",
  "true",
  "yes",
]
FALSEY_LOWERCASE_STRINGS =
[
  "false",
  "no",
  "off",
  "0",
]
TRUEY_LOWERCASE_STRINGS =
[
  "true",
  "yes",
  "on",
  "1",
]