Hi,

In message "[ruby-talk:4630] Re: Class methods"
    on 00/08/29, Mark Slagell <ms / iastate.edu> writes:

|On the other hand maybe this kind of thing strays a bit too far into the
|realm of "Do what I mean", and yes it diverges from OOP conventions.  It was
|just a strange and fun thought that occurred to me.

Try something by yourself, using Dave's trick in [ruby-talk:4631]:

  class <<IO
    def method_missing(id, path, *args)
      open(path) do |f|
        f.__send__(id, *args)
      end
    end
  end

  p IO.read(path)

What a dynamic language Ruby is!

							matz.