Hi!

I'm new to ruby and....

Consider the following program:

class Klass
  def send(aSym, *args)
    puts "send: #{aSym}"
    __send__(aSym, args)
  end
  def hello(*args)
    "Hello " + args.join(' ')
  end
end

k = Klass.new
puts k.send(:hello, "plopp")
puts k.hello("plopp");



The output is:

send: hello
Hello plopp
Hello plopp



My question is if it's possible to override the "." between "k" and
"hello" to use the send method? I.e, I would like the following output:

send: hello
Hello plopp
send: hello
Hello plopp

Maybe I'm missing the point but what is wrong with having "." as
syntactic sugar for invoking send on an object?

regards,
	jonas