Alex Combas wrote:
> 
> In math the absolute value is typically
> the double pipe:
> |x| = 27
> 
> This reminds me stuff like:
> Stuff.each { |x| puts 'hello '+x }
> 
> Are these two related in any way?

No, this is just syntactic sugar. It's a placeholder for the iteration 
variable. abs is a method in Numeric.

Christer

-- 
Posted via http://www.ruby-forum.com/.