Articles related to ruby operators
Using Boolean Operators in Ruby - About.com
Using these operators and alternative conditionals is often more clean than using the not operator. Though you will see it in Ruby code, especially when testing ...
Overloading Operators - Ruby - About.com
What does a + b mean? That all depends on what 'a' is. Ruby allows you to define a number of arithmetic operators and they're called on the left-hand side of ...
The Ternary (or "Conditional") Operator - Ruby - About.com
The ternary (or "conditional") operator will evaluate an expression and return one value if it's true, and another value if it's false. It's a kind of short-hand, compact ...
What's New in Ruby 1.9.1? -The Lambda Operator - About.com
Among the new features in release of Ruby 1.9.1 is the Lambda operator, a shortcut used to make nameless methods. Learn how to use this feature introduced ...
The Case Equality Operator - Ruby - About.com
The case equality operator is key to understanding how case statements really work, and is overall a useful operator when you want to make "fuzzy comparisons ...
The Curious Case of the Flip-Flop - Ruby - About.com
But first, a warning. The flip-flop operator is a hotly contested feature of Ruby. It's still struggling to find an idiomatic use case, except for a few very rarely needed ...
Conditional Assignments - Ruby - About.com
Ruby provides a number of combined operation and assignment operators. For example, the += operator can be used as "a += 10" meaning "a = a + 10." They're ...
Multiple Splats in Ruby 1.9.1 - About.com
Among the new features in release of Ruby 1.9.1 is the ability to use more than one splat operator in an assignment or method call. Learn how to use this feature ...
Boolean Expressions in Ruby Control Structures - About.com
In other words, Ruby will ask itself "if this boolean expression is true do this, ... Boolean expressions usually involve one or more comparison operators.
Regular Expressions: Grouping - Ruby - About.com
The grouping operators, including the parentheses operator, are some of the most powerful and frequently used operators in the Ruby regex syntax.