What is the proper syntax with Ruby for an IF statement that has multiple constraints.
example in php you could do.
if(($something == $this) AND ($this == $that))
So I am looking for the Ruby rendition of that syntax. I try to search for it, but since its common words, and most search engines use the same words for conditionals my searches come up with very litte.
Have you actually tried anything?
The syntax isn’t that far from php:
You should probably read up on Ruby’s if syntax