From: "Jan E." Date: 2012-05-28T01:19:41+09:00 Subject: Re: Am I justified to use a global variable if it must be used in all scopes? Phil Stone wrote in post #1062294: > I'm not sure why a global > variable would be such a bad habit in this case, especially since it is > only one. > > Can I justify using it? Your description suggests that you don't plan to reassign the Heap object. In this case I'd use a constant instead. -- Posted via http://www.ruby-forum.com/.