>>>>> "P" == Patrik Sundberg <ps / radiac.mine.nu> writes: P> in the RbObjGwHandle#method_missing method where I placed the comment gets P> just hangs. that is @gw.send(:gets) hangs, but if i change this to @gw.gets i P> am alright. anyone have an explanation for this? Well, it don't really hang, because it wait for input from the keyboard. In reality it call Kernel#gets. When you call @gw.send(:gets) ruby look if it exist a method with this name defined for this object, and it find it. This is the *private* method Kernel#gets, then it just call this method. When you call @gw.gets ruby make the same search, it find the *private* method Kernel#gets and it reject this call because you have called #gets like a *public* method (this was not the case with #send). At this step, it call #method_missing of @gw which send the command to the server. Guy Decoux