Peter Meier wrote: > Hi, > > I'm a newbie in ruby. > > I want to share some classes between different scripts. > Something like a small library. > > How can I do this? Let's say you have a bunch of Ruby source files, named "class(n).rb" in the current directory. Do this: #!/usr/bin/ruby -w require 'class1.rb' require 'class2.rb' require 'class3.rb' # write code here -- Paul Lutus http://www.arachnoid.com