Ruby Programming Language
Operators
By Mark Ciotola
First published on September 9, 2019. Last updated on February 16, 2020.
An operator typically transforms and analyzes something else, such as a variable, constant Below are several categories of operators.
Arithmetic
- + addition
- – subtraction
- * multiplication
- / division
String Comparison
- eq equality
- ne inequality
- lt less than
- gt greater than
- le less than or equal
- ge greater than or equal
Numeric Comparison
Others