1. Technology

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 ...
http://ruby.about.com/od/control/a/Boolean-Operators.htm
The Ternary (or "Conditional") Operator - Ruby - About.com
To put this another way, the conditional operator is like an if statement. Remember that if statements in Ruby evaluate to the last value in block that gets executed ...
http://ruby.about.com/od/beginningruby/a/The-Ternary-Or-Conditional-Operator.htm
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  ...
http://ruby.about.com/od/oo/ss/Overloading-Operators.htm
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 ...
http://ruby.about.com/od/convolutedconstructions/ss/The-Curious-Case-Of-The-Flip-Flop.htm
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  ...
http://ruby.about.com/od/control/a/The-Case-Equality-Operator.htm
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 ...
http://ruby.about.com/od/newinruby191/qt/LambdaOperator.htm
The Case Statement in Ruby - About.com
In Ruby, it's a bit more flexible (and powerful). A simple equality test is not performed, the case equality operator is used, opening the door to many new uses.
http://ruby.about.com/od/control/a/The-Case-Statement.htm
How to Make Deep Copies in Ruby - About.com
It's often necessary to make a copy of a value in Ruby. While this may ... First, the assignment operator using a POD (Plain Old Data) type in Ruby. Ads. &ensp.
http://ruby.about.com/od/advancedruby/a/deepcopy.htm
How to Create Arrays in Ruby - A Basic Guide - About.com
Storing variables within variables is a common thing in Ruby and is often referred ... The index operator will take a number and retrieve a variable from the array ...
http://ruby.about.com/od/rubyfeatures/a/arrayhash.htm
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.
http://ruby.about.com/od/control/a/Boolean-Expressions.htm
1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10      Next

©2014 About.com. All rights reserved.