Top

Code Snippets by hawker

  (3)  
Sort by 
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
2 comment(s)   |   Score: 7.0   |   Language: Ruby / Rails   |   Posted by hawker on Aug 24, 2005
How to sort an array of strings.
+ 0 likes
0 comment(s)   |   Score: 6.0   |   Language: Ruby / Rails   |   Posted by hawker on Aug 24, 2005
This time a greeting is printed using an object-oriented approach.
+ 0 likes
1 comment(s)   |   Score: 4.0   |   Language: Ruby / Rails   |   Posted by hawker on Aug 24, 2005
Bottom