From: Hassan Schroeder Date: 2011-02-26T11:32:52+09:00 Subject: Re: How to call a class from another script? On Fri, Feb 25, 2011 at 6:16 PM, Anthony Ob 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.bark woof => nil >> HTH! -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com twitter: @hassan