How can you check if a boolean in ruby is true or false?
8/27/2018 7:36:58 PM
yes but if I return the value from a method, I cant use == because it always returns false
troyan well if you're returning a boolean then there's no need to check if it's true or false, linking your code could help
I already made it with variable scope. I posted it yesterday before that idea came to mind.
you can see it
use the '==' operator
Can u tell me your real name
Send us a message