I'm stumbling on using a ternary with the p() function in ruby. My code is:
p i.prime?? i:''
Problem is, when i is not prime, it displays quotes instead of displaying nothing.
How do I fix this and make it print nothing? I don't want to print whitespace either. just nothing.