From: Jean Nibee Date: 2006-08-10T01:26:13+09:00 Subject: Code structure and using "require" Hi I'm coming from a java world and I'm trying to understand the structure of a Ruby project and how 'require's are resolved. In java we have this nice package routine where we put our .java files into a directory hierarchy that is nice and neat. Can I do the same in Ruby (I assume yes) but if I do how are "requires" resolved when needed and what happend if I move code around the hierarchy; are the resolve paths relative or abosolute based on some 'root' directory I"m unaware of. (Currently to learn and test all my .rb files are in one directory... it's getting messy) Thanks. -- Posted via http://www.ruby-forum.com/.