From: Tom Link Date: 2009-02-03T01:48:51+09:00 Subject: [ruby-core:21760] Re: New documentation system! > then you're going to have people who want overloading Multi-methods or multiple-dispatch would be more correct in the context of a language like ruby. I found it quite brave of Daniel to make that proposal. :-) I personally would like to see some sort of annotations that could be used for this. class A S = "FOO" @pre x.respond_to?(:*) @post result.is_a?(String) def fooer(x) S * x end end Such annotations would leave it up to the users to use them for whatever they like and process them in a customizable way or to simply ignore them. The only (soft) guideline would have to be that the code should still be functional if they were totally ignored.