Latest Ruby / Rails Code Snippets

Popular / Snippets

log2 created a Page  -  Nov 10, 2005
2,943 

This reads information from an ini file Now to get this to work, make an ini file called hello.ini in a folder called hello from your main ruby directory, place this code into the file: hello1=Hello hello2=Hi hello3=Hey hello4=Heya hello5=Shut Up!

dr_bob created a Page  -  Sep 19, 2005
1,106 

Prints an indented exception class hiearchy.

hawker created a Page  -  Aug 24, 2005
2,687 

Uses a list of regular expressions and replacement strings to make changes in text files.

hawker created a Page  -  Aug 24, 2005
3,170 

How to sort an array of strings.

hawker created a Page  -  Aug 24, 2005
6,251 

This time a greeting is printed using an object-oriented approach.

Hawkee created a Page  -  Aug 18, 2005
8,343 

This is a very simple Ruby snippet that creates an unnecessary function.

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.