On Wednesday, February 4, 2004, 8:35:05 AM, Stephen wrote, in part:

> But if we:

>     def Method.new(amt)
>         initialize
>         @value = amt
>     end

There's the problem.  Try this:

  class Money
    attr_reader :value
    def initialize(amount)
      @value = amount
    end
    def to_s
      '?' + @value.to_s
    end
  end

  m = Money.new(1234)
  m.to_s

Untested...

What you've missed is that Money.new is already defined (Class#new),
and it will call Money#initialize, which is all you have to define.

  Class#new   creates a new instance of any class
  Money#new   initializes an instance of Money

Cheers,
Gavin