class Foo
   def test
      print "hi\n"
   end
end

f=Foo.new


I would like to alias a function newtest to refer to f.test but don't
know how...  for example:

alias :newtest :f.test
alias :newtest :Foo.test

any way to do this outside of writing a new function for each alias i
require?