From: "Jeremy W." Date: 2012-05-14T22:37:31+09:00 Subject: Re: Accessing child variables > My error is as follows: > > stack level too deep (SystemStackError) This is a hint to you that a method you are calling is calling itself. If you look at your implementation of myarray, you have "@myarray = myarray". This means that when you call myarray, it's calling itself over and over again. This is recursion and in this situation, this is bad. At the top of your class you have "attr_accessor :myarray" That in effect defines the following two methods: def myarray return @myarray end def myarray=(arr) @myarray = arr end Your method of "myarray" is overriding the default one and causing the problem. Try removing it and see if that fixes it. Jeremy Walker -- Posted via http://www.ruby-forum.com/.