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
Showing posts with label metadata. Show all posts
Showing posts with label metadata. Show all posts
Saturday, April 12, 2008
using ruby facets annotations with yaml
Subscribe to:
Comments (Atom)