Ruby / Rails Code Snippets
(6)
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 code into the
Tags:
inis
Prints an indented exception class hiearchy.
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 target and the
This is a very simple Ruby snippet that creates an unnecessary function.



