From: 7stud -- Date: 2012-10-24T01:57:44+09:00 Subject: Re: Calling class method in instance method of another class my_classes.rb ---------- class Dog def self.count 10 end end my_prog.rb ---------- require './my_classes.rb' puts Dog.count $ ruby my_prog.rb 10 $ -- Posted via http://www.ruby-forum.com/.