Ruby has Integer(...) and Float(...), but does it have Boolean(…) for things like:

Boolean(ENV[“SOME_FLAG”])

What's the Ruby idiom here?

@getajobmike I want a built-in Boolean(). Others will probably recommend something like dry-types or something else that can map "true"/"false"/"yes"/"no"/"y"/"n" to true/false.