From: Robert Dober Date: 2008-04-25T21:03:47+09:00 Subject: Re: "alias name objetc.method" not allowed? On Fri, Apr 25, 2008 at 1:52 PM, David A. Black wrote: > Hi -- > > > I think you want: > > def ob_hello > object.hello > end ah yes that might be what OP wants, I will follow another track, though. My initial idea was that OP wants to forward messages to the underlying object: require 'forwardable' class Whatever extend Forwardable def_delegator :@output, :hello, :obj_hello end Whatever.new.obj_hello This, however does not work on the toplevel. HTH Robert