require 'rubygems' require 'facets/annotations'; ann :say_hello,{:__meta__=>' ### main: ### - desc: | ### return the string 'hello world' ### usage: puts foo.say_hello() ### keywords : [alpha , bravo , charlie , delta , echo] ### params : ### - {name : fooname, ropt : optional, desc : foodesc} ### - {name : barname, ropt : optional, desc : bardesc} '} def say_hello() 'hello world' end
No comments:
Post a Comment