1. Computing

Discuss in my forum

Operator

By , About.com Guide

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

©2013 About.com. All rights reserved.