Navigation Home / Tags / Ruby

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

« Previous 1 2 Next »
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.
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.
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.
8
Date Submitted Wed. Oct. 11th, 2006 5:28 PM
Revision 1
Helper jeremec
Tags console | rails | reload | Ruby
Comments 1 comments
When doing a lot of testing in script/console, you often have to reload to pickup changes in DB schema, models and libs. The process of quitting the console and restarting it can become incredibly tedious amidst bugtracking.

note: I don't believe this reloads items in the libs dir
1
Date Submitted Wed. Oct. 11th, 2006 3:08 PM
Revision 1
Helper jeremec
Tags activerecord | find | override | rails | Ruby
Comments 0 comments
From time to time you may have reasons to override the default find method that ActiveRecord provides. In this example, we'll store a side-copy of the record attributes so that we have some basis for discovering changes to the data.

note: this will not override dynamic finders such as find_by_id
2
Date Submitted Wed. Aug. 9th, 2006 5:49 AM
Revision 1
Beginner plinge
Tags Ruby | signals | slots
Comments 0 comments
Well, ruby is actually so flexible that there is no real need to implement the goode olde signals & slots metaphor. But it serves nicely as demonstration of ruby properties, so here we go.
1
Date Submitted Fri. Jun. 16th, 2006 9:01 AM
Revision 1
Beginner cyu
Tags migration | rails | rake | Ruby
Comments 0 comments
By default, migrations will run on the development environment. Here's how you would specify another environment.
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 »