From: Guo Yangguang Date: 2007-07-26T12:43:16+09:00 Subject: how can i use a ruby class in object way hello: can you help me ?we all know that we can use a class'object in main method in java,but how can i use a class'object after designing a class in ruby? i only know i can make an object and use it after having a class,i can also use a class method in a class to get some result after designing a class method.But why i can do that? i do not know the reason? is there an only place like main method of java in which i can use my classes? is there a rule that can guide me to use my ruby class correctly? thank you ! -- Posted via http://www.ruby-forum.com/.