I'm new to ruby, and I saw this code snippet
1|2
and it returns 3
What does the |
operator actually do? I couldn't seem to find any documentation on it. Also, in this context is it referred to as the "pipe" operator? or is it called something else?