Operators in Ruby

Ruby offers various types of operators to perform the conventional operations like assignment, conditional checks, addition, subtraction, etc.

Types of Operators

  1. Arithmetic operator
  2. Relational operator
  3. Logical operator
  4. Bitwise operator
  5. Assignment operator
  6. Range operator
  7. Dot and Colon operator
  8. Defined operator
  9. Ternary operator