From: Robert Klemme Date: 2009-09-24T19:46:30+09:00 Subject: Re: How call function from other class(self created) in ruby program 2009/9/24 RAJU : > let I have 2 diff. program  code at C drive:  A.rb and B.rb > ! A.rb is > class A >  def a >    puts "Hello, I am in A" >  end > end > > !B.rb is > > class B >  def b >    puts "I am in B" >  end > end > > Know i want to call object of Class A of code A.rb in  B.rb. > So how can import Class A in B.what is syntax of importing. require 'A' Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/