http://stackoverflow.com/questions/1715811/
http://drupal.org/node/424372
Monday, December 7, 2009
Saturday, April 12, 2008
using ruby facets annotations with yaml
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
Subscribe to:
Posts (Atom)