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

Boolean(ENV[“SOME_FLAG”])

What's the Ruby idiom here?

@caleb @getajobmike I’m not a fan of bang bang because empty string should be treated as false
@caleb @getajobmike (to be clear, only empty string from Env vars should be false. Definitely don’t think empty should be false generally in Ruby. But vars coming from Shell, empty is treated equivalent to unset )
@jasonkarns @getajobmike I was being a bit cheeky. Double negation isn’t a good solution for ENV.