Who’s Ruby?

shit = { /* stuff to do */ }
while shit
shit()
end

There’s a default argument $_
Wouldn’t that pick up the value of shit, since it was the last assignment?
while $_
$_()
end

But then, really, since it is the default argument, can’t you just do

while
$_()
end

or, really, since it’s the default,
while
end

See? Ruby writes itself!

Leave a Reply






RSS

People I Know

Random Stuff

Recently Listened

19 queries. 1.477 seconds.

Technorati Profile