Brian Candler wrote:
> Amit Tomar wrote:
>> i am not access value of @a ,how should i do that
> 
> What do you mean by "i am not access value"? Did you try to? What code 
> did you try? Did you get an error message from it? What was the error 
> and backtrace?
> 
> This works fine for me:
> 
> require 'class1'
> require 'class2'
> me = Person::Sumit.new
> me.aos

i didn't get any error meassage but in class2.rb i tried to print @a 
value using puts "#{@a}" .but got the blank o/p
-- 
Posted via http://www.ruby-forum.com/.