1. Computing
Send to a Friend via Email

Operator

By

Definition: An operator in Ruby is a symbolic language feature that takes a number of arguments (usually two, but it can be one or three) and produces another value. For example, the addition operator (a + b) adds two objects and produce a third. In many cases, operators themselves are just methods in Ruby, you can define what it means to "add" or "subtract" two objects of your own design. However, some cannot be redefined, such as the assignment operator.
  1. About.com
  2. Computing
  3. Ruby
  4. Glossary
  5. M - R
  6. Operator

©2014 About.com. All rights reserved.