In reference to this question: http://stackoverflow.com/questions/614309/ideal-ruby-project-structure I noticed that appname.rb is in lib, and is top level.
I was reading through a little of the Rake source code on Github, and I noticed their project structure is pretty much the same. They have a top level 'rake.rb' file in /lib, but I'm not sure what it's there for.
In The Pickaxe (Programming Ruby 1.9), they show an example of structuring a small project, with pretty much the same directory structure above, but there is no mention of the usage of a top level .rb in /lib.
So, my question is: What exactly is this thing typically used for in a Ruby project?
Sorry if this is a stupid question, I'm sure it is, but I'm relatively new to Ruby. I don't know that much Ruby-foo right now. ;)
Thanks.