On Fri, Feb 25, 2011 at 6:16 PM, Anthony Ob <vidgametester / gmail.com> wrote:
> How to call a class from another script?

ripple:/tmp$ cat > dog.rb
class Dog
  def bark
    puts "woof"
  end
end
ripple:/tmp$ irb
>> load 'dog.rb'
=> true
>> dog = Dog.new
=> #<Dog:0x102296c58>
>> dog.bark
woof
=> nil
>>

HTH!
-- 
Hassan Schroeder ------------------------ hassan.schroeder / gmail.com
twitter: @hassan