Jeff Wood wrote:
> Yes it would, but I don't see another way to do attribution of methods
> without causing compatibility issues .... do you?

Nitro/Facets annotations system works like so:

  class X
    def foo ; "foo" ; end
    ann :foo, :returns => String
  end

  X.ann :foo, :log => true

  X.ann.foo.returns  #=> String
  X.ann.foo.log      #=> true

Also,

  class X
    attr :bar, :log => true
  end

Would a special syntax be better? Maybe, but not neccessary.

T.