Tags » Ruby

I Love Ruby Download Soars

I Love Ruby download has soared in unexpected ways this month, reaching an average of about 20 downloads a day! USA has clearly overtaken India in number of downloads. 142 more words



I have just finished lots of chores outside =  boriiiiiiiiiing, but they do need done. 

Picking up weeds off the grass into the rubbish bin, watering the glass house, changing the chicken’s water, feeding the piggie, hanging the washing..just the usual stuff. ¬†¬† 385 more words

Family Stuff

#503 A Virtuous Woman by Kaye Gibbons

A Virtuous Woman by Kaye Gibbons

“Who can find a virtuous woman? for her price is far above rubies.”

A virtuous woman is quite the thing to be according to Proverbs 31: verses 10-31.

927 more words

Here Document in Ruby

Here’s a really simple example of the basic usage of here documents or ‘here docs’ in Ruby:

This allows us to create neat multi-line strings. 117 more words


Ruby's Enumerable#all? Method

Here’s a simple example:

Simply put, if none of the elements in an enumerable object (such as an array) evaluate to nil or false, then… 78 more words


#freeze, Punk! You're Not Going to #dup Me!

Had a lot of fun with that title…

First, let’s remind ourselves of how Ruby deals with variables:

So, we can see above that a… 230 more words