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
+ 0 likes
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..
+ 0 likes
+ 0 likes
This is a very simple Ruby snippet that creates an unnecessary function.
+ 0 likes


