Hii all ,




I have one file named class1.rb this is structure

module Person
  class Amit
    def initialize
      @a=10
    end
  end
end
another file named class2.rb

module Person
  class Sumit < Amit
    def aos
      puts "#{@a}"
    end
  end
end

i am not access value of @a ,how should i do that
-- 
Posted via http://www.ruby-forum.com/.