From: "Einar Magnús Boson" Date: 2008-11-17T21:37:46+09:00 Subject: Re: How does Ruby handle namespace? commandline: ruby -I includedir1:includedir2:etc app.rb (i.e "i".upcase) in ruby $: holds the include path On 17.11.2008, at 11:53 , Zhao Yi wrote: > In Java, it uses import to include other classes from other > packages. In > ruby, I only found that require statement can do this. When the ruby > scripts are located in different directories, I have to use the > "../../" > to indicate these dependency directories. Is there a standard or > better > way to declares package? Does ruby have something like CLASSPATH in > Java? > -- > Posted via http://www.ruby-forum.com/. > Einar Magnús Boson +354-661 1649 einarmagnus@tistron.se einar.boson@gmail.com