From: rubythemystery ruby Date: 2011-12-13T04:31:24+09:00 Subject: To Access One Class method from Another Hi, I have two classes say, Class One: --------- class WebClient include HTTParty headers 'text/xml' format :text def some(type) if type.eql? "data1" headers 'text/xml' format :text elsif type.eql? "data2" -------- here I need to call the method of another class Sample end end Class two: --------- class Sample < HTTParty::Parser def atom some funtion end end can someone help on this -- Posted via http://www.ruby-forum.com/.