Top

Ruby / Rails Code Snippets

  (6)  
Sort by 
Added: Nov 10, 2005    By: log2
This reads information from an ini file <br><BR> 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..
Tags: inis 
Score: 0.0    0 comment(s)    Ruby / Rails Snippet
Added: Sep 19, 2005    By: dr_bob
Prints an indented exception class hiearchy.
Tags: class  exception  hiearchy  tree 
Score: 0.0    3 comment(s)    Ruby / Rails Snippet
Added: Aug 24, 2005    By: hawker
Uses a list of regular expressions and replacement strings to make changes in text files. Put in file "edit-all.rb" and run with ruby edit-all.rb *.txt Now accepts the..
Score: 7.0    3 comment(s)    Ruby / Rails Snippet
Added: Aug 24, 2005    By: hawker
How to sort an array of strings.
Score: 6.0    0 comment(s)    Ruby / Rails Snippet
Added: Aug 24, 2005    By: hawker
This time a greeting is printed using an object-oriented approach.
Score: 4.0    1 comment(s)    Ruby / Rails Snippet
Added: Aug 18, 2005    By: Hawkee
This is a very simple Ruby snippet that creates an unnecessary function.
Tags: def  function  puts 
Score: 7.7    4 comment(s)    Ruby / Rails Snippet
Bottom