On Thu, Sep 11, 2008 at 4:37 PM, Jay Pangmi <jaeezzy / gmail.com> 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*