How call function from other class(self created) in ruby program

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.

2009/9/24 RAJU [email protected]:

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