From: Phil Stone Date: 2012-05-27T22:14:38+09:00 Subject: Re: Am I justified to use a global variable if it must be used in all scopes? > Perhaps a singleton class? A Singleton class of what kind of object? > It seems to me that you're probably in need > of > some more abstraction if you feel you need a global variable. But this one variable is what the program is based on. To be more specific, it is an instance of my Heap class, which is edited by Variable instances and others. I'm not sure how I could abstract that. -- Posted via http://www.ruby-forum.com/.