Reloading your Ruby on Rails console





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 Next »
8
Date Submitted Mon. Oct. 30th, 2006 12:17 AM
Revision 1
Scripter SCoon
Tags Directory | File | Ruby
Comments 0 comments
Customizable recursive directory scanner.
5
Date Submitted Mon. Oct. 30th, 2006 1:03 AM
Revision 1
Scripter SCoon
Tags C | CPlusPlus | Java | Ruby | String
Comments 3 comments
This class intended to collect TODO comments from java/c++/etc source files.

Example:

protected readFileData (String path) throws IOException {
// TODO: add try...catch block for IOException
InputStream is = new FileInputStream(path);
...
}


See also DirectoryScanner class.
5
Date Submitted Mon. Oct. 30th, 2006 2:15 AM
Revision 1
Scripter SCoon
Tags "Command Line" | GUI | Ruby | Tk
Comments 0 comments
This class illustrates mixed GUI/command line parameters passing. Any parameter may be specified in the command line. All unspecified parameters will be read using GUI dialog box.
8
Date Submitted Mon. Oct. 30th, 2006 4:42 AM
Revision 1
Scripter SCoon
Tags FreeMind | Java | Mindmaps | Ruby | Web | XML
Comments 0 comments
This code illustrates using ruby REXML package. It converts J2EE web application deployment descriptor web.xml into Freemind mindmap document.
5
Date Submitted Mon. Oct. 30th, 2006 6:30 AM
Revision 1
Scripter SCoon
Tags Email | http | Mail | RSS | Ruby
Comments 0 comments
This snippet illustrates following:

1. Using http request to get the data
2. Parsing RSS feeds
3. Sending email
7
Date Submitted Thu. Nov. 2nd, 2006 1:49 AM
Revision 1
Scripter SCoon
Tags List | Random | Ruby
Comments 1 comments
Weighted random selection from the list.

Don't forget to call itemsChanged after updating list content.
8
Date Submitted Thu. Nov. 2nd, 2006 3:51 AM
Revision 1
Scripter SCoon
Tags Algorithm | Genetic | Random | Ruby
Comments 1 comments
Genetic Algorithm implementation.

See also "Weighted random selection" for RandomItemSelector class source.
7
Date Submitted Thu. Nov. 2nd, 2006 5:08 AM
Revision 1
Scripter SCoon
Tags Algorithm | Genetic | optimization | Random | Ruby
Comments 0 comments
This snippet illustrates using Genetic Algorithm for the hardware optimization.
1
Date Submitted Sat. Feb. 18th, 2006 1:46 PM
Revision 3
Beginner seasons
Tags 0 | 1 | Ruby
Comments 2 comments
Directory Utility for Ruby
« Previous 1 2 Next »