From: bradphelan on 19 Mar 2010 04:11 I'm using the excelent CouchRest gem and I would like to document my models. For example I have a simple model. class SearchEngines < CouchRest::ExtendedDocument # Holds the link to the bing search engine property :bing # Holds the link to google search engine property :google end Now if I want :bing and :google to turn up in the rdoc or yardoc what would I have to do. Regards Brad Phelan http://xtargets.heroku.com
From: Intransition on 20 Mar 2010 12:19 http://rdoc.rubyforge.org/RDoc/Parser/Ruby.html On Mar 20, 8:41 am, bradphelan <bradphe...(a)gmail.com> wrote: > I'm using the excelent CouchRest gem and I would like to document my > models. For example I have a simple model. > > class SearchEngines < CouchRest::ExtendedDocument > > # Holds the link to the bing search engine > property :bing > > # Holds the link to google search engine > property :google > > end > > Now if I want :bing and :google to turn up in the rdoc or yardoc what > would I have to do. > > Regards > > Brad Phelanhttp://xtargets.heroku.com
From: Ryan Davis on 20 Mar 2010 16:29 On Mar 20, 2010, at 05:41 , bradphelan wrote: > I'm using the excelent CouchRest gem and I would like to document my > models. For example I have a simple model. > > class SearchEngines < CouchRest::ExtendedDocument > > # Holds the link to the bing search engine > property :bing > > # Holds the link to google search engine > property :google > > end > > > Now if I want :bing and :google to turn up in the rdoc or yardoc what > would I have to do. It already works. Put "##" on a line before your rdoc and it'll get picked up. ## # blah blah whatever :value
From: bradphelan on 25 Mar 2010 12:10 On Mar 20, 9:29 pm, Ryan Davis <ryand-r...(a)zenspider.com> wrote: > On Mar 20, 2010, at 05:41 , bradphelan wrote: > > > > > I'm using the excelent CouchRest gem and I would like to document my > > models. For example I have a simple model. > > > class SearchEngines < CouchRest::ExtendedDocument > > > # Holds the link to the bing search engine > > property :bing > > > # Holds the link to google search engine > > property :google > > > end > > > Now if I want :bing and :google to turn up in the rdoc or yardoc what > > would I have to do. > > It already works. Put "##" on a line before your rdoc and it'll get picked up. > > ## > # blah blah > whatever :value Thanks for the tip
|
Pages: 1 Prev: is there any way to fin 32 bit or 64 bit version? Next: Comapring Docs,XLS,PDF's |