I <3 ruby (or reopening classes and using method_missing)
I felt a bit sad that in Python, calling a method of a XML/RPC service was as easy as calling a method of the same name in the xmlrpc object, while in Ruby, using the call method was mandatory. But I like how Ruby is open:
module XMLRPC
class Client
def method_missing( name, *args )
self.call name.to_s, *args
end
end
end
And so be it…
[ well, this is not complete and won’t handle all the cases, but you get the idea ]