Google Groups Home
Help | Sign in
Message from discussion Singleton class - instance or class variables?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Caleb Tennis  
View profile
 More options Dec 19 2005, 8:13 pm
Newsgroups: comp.lang.ruby
From: Caleb Tennis <ca...@aei-tech.com>
Date: Tue, 20 Dec 2005 10:13:15 +0900
Local: Mon, Dec 19 2005 8:13 pm
Subject: Singleton class - instance or class variables?
When using a singleton class (one that includes Singleton, not an  
eigenclass), can anyone think of any advantage/disadvantage to using  
class variables over instance variables (or visa versa) to access  
data in the class?

Thanks,
Caleb


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google