[Nitro] Facets Command suggestion.

Jonas Pfenniger zimba.tm at gmail.com
Thu Jun 15 15:31:56 EDT 2006


I'm better by explaining with examples :

Take the following source code :
--- code ---
# This is a test class
class Test
  # The super method
  def my_method
  end
end
--- end ---

Then a method would be available to parse that file and put the
comments as annotation to that :

Test.ann.self.doc #=> "This is a test class"
Test.ann.my_method.doc #=> "The super method"

-- 
Cheers,
  zimbatm

http://zimbatm.oree.ch



More information about the Nitro-general mailing list