4 posts

The double bang

In Ruby, you can simply negate an expression by using "!" abc = 'abc' !abc #=> false Similarly,   abc = 'abc' !abc #=> false !!abc #=> true Ruby's double-bang negates the negated statement, which...

You’ve successfully subscribed to Yogi Maricris' Chronicles
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.