There's no Boolean class in Ruby => worked around that