Hi,

In message "[ruby-talk:6412] clas << a & Pascal's with <record> do...end"
    on 00/11/17, Hugh Sasse Staff Elec Eng <hgs / dmu.ac.uk> writes:

|I was thinking that when a lot of work must be done on an object
|it would be nice to alter the search path for methods without a 
|receiver.
|
|   a.do_this
|   a.do_that
|   a.do_the_other

How about the following?

  a.instance_eval do
    do_this
    do_that
    do_the_other
  end

`instance_eval' swaps the current receiver within the block.
Maybe aliasing to the proper name would help comprehension.

							matz.