public
Description: Ruby port of Programming Collective Intelligence
Home | Edit | New

ProjectLayout

The project layout will attempt to adhere closely to RubyGem standards. Ideally it would be nifty if we could package this up as a gem so let’s not make this any harder for ourselves than necessary. :-)

The main code goes in the lib directory. We can start with the module breakdowns that are suggested in the book, but we should feel free to deviate from that in order to write more idiomatic Ruby.

Our tests will be written in [RSpec]http://rspec.info and all go in the spec directory.

Any executables will go in the bin directory.

There should be a top-level Rakefile for handling things like running specs, running RCov, packaging as a gem etc. etc.

Last edited by alexvollmer, Wed Feb 27 08:38:25 -0800 2008
Home | Edit | New
Versions: