From: Raffaele Tesi Date: 2008-02-02T00:14:12+09:00 Subject: Re: how to get the name of parent object inside child object # something like this? class Cycle attr_accessor :brand def initialize @brand="something" end end class Wheel def option Cycle.new end end w=Wheel.new puts w.option.brand -- Posted via http://www.ruby-forum.com/.