From: Robert Dober Date: 2008-09-11T23:47:56+09:00 Subject: Re: define and call methods in ruby On Thu, Sep 11, 2008 at 4:37 PM, Jay Pangmi wrote: > David A. Black wrote: >> You're defining do_something as an instance method of Myclass; that >> means that you need an instance of Myclass in order to call >> do_something. To get that instance, you need to do Myclass.new. >> >> >> David > > Thanks again David, So, here's how I've tried: > > class MyDate > md=MyDate.new() > md.display > def display > puts "hi" > end > end look at David's original post *again*