Adam Shelly
1/31/2006 6:49:00 AM
On 1/30/06, Giedrius <GiedriusBanaitis@gmail.com> wrote:
> 1) how to set working directory for irb?
irb(main):018:0> Dir::pwd
=> "c:/temp"
irb(main):019:0> Dir::chdir "c:/programs"
=> 0
irb(main):020:0> Dir::pwd
=> "c:/programs"
> 2) is there default or if not, could you share your own good coding
> practice where to put additional source files as:
I don't think I have good practices, I lump stuff together in a
subversion directory called ruby/repository/, and make subdirs when I
feel like it. If I write something particularly re-useful I copy it
to site_ruby.
-Adam