If I add the line:
name = $1
before the line:
Computer.send(.....)
and replace all the $1's in the body of the define_method(), then the
code works like I want.
--
Posted via http://www.ruby-forum.com/.