[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Auto TODO-LIST

Felipe Navas

12/29/2006 10:10:00 PM

There is any script that run through the code and make a Todo list ?
Rdoc can do this ?

--
(.) CAMPANHA DA FITA ASCII ( http://ar...)
/ \ Contra formatos proprietarios

5 Answers

Gavin Kistner

12/29/2006 10:32:00 PM

0

Felipe Navas wrote:
> There is any script that run through the code and make a Todo list ?
> Rdoc can do this ?

How about something simple like:
irb(main):001:0> Dir.glob( '**/*.rb' ).each{ |file|
irb(main):002:1* puts IO.read(file).scan( /\bTODO\b.+/i )
irb(main):003:1> }
TODO: handle save troubles
TODO: handle save troubles
TODO: check for save failure
TODO: Authorize as admin
TODO: Authorize as admin
ToDo - document options
ToDo: deal with columns that are methods and not actual columns

Also, TextMate (a text editor on Mac OS X with some very nice Ruby
support) has a bundle command that does this for you.

Alexandru E. Ungur

12/30/2006 1:06:00 PM

0

>>> sender: "Felipe Navas" date: "Sat, Dec 30, 2006 at 07:09:41AM +0900" <<<EOQ
> There is any script that run through the code and make a Todo list ?
> Rdoc can do this ?
If by any chance you're using vim, this tip does exactly that:
http://vim.sourceforge.net/tips/tip.php?t...

Cheers,
Alex

Buster Norris

12/15/2011 2:13:00 AM

0

Summary: Not only the most prolific liar also the most prolific thief
of other's writings. She is also a Stolen Valor stain on America. Note
that when you reply to a Proven Liar you encourage them to continue
lying.

[][][][][][]


The DemocRAT Hall Of Shame http://www.democrathallof... asks
"Why do you always LIE?"

[Courtesy of Buster Norris]

On Sun, 17 Jul 2011 15:20:51 -0400, Kickin' Ass and Takin' Names
<PopUlist349@hotmail.com> wrote:
>First, here are the lies:
>-- Global warming is a gigantic hoax

141 Scientists Sign Letter Sent to UN Secretary-General Questioning
Global Warming
http://www.globalwarminghoax.com/news.php?...

Posted from:
The DemocRATs Hall of Shame!
http://www.democrathallof...

Buster Norris

12/15/2011 2:13:00 AM

0

Summary: Not only the most prolific liar also the most prolific thief
of other's writings. She is also a Stolen Valor stain on America. Note
that when you reply to a Proven Liar you encourage them to continue
lying.

[][][][][][]


The DemocRAT Hall Of Shame http://www.democrathallof... asks
"Why do you always LIE?"

[Courtesy of Buster Norris]

On Sun, 17 Jul 2011 15:20:51 -0400, Kickin' Ass and Takin' Names
<PopUlist349@hotmail.com> wrote:
>First, here are the lies:
>-- Global warming is a gigantic hoax

141 Scientists Sign Letter Sent to UN Secretary-General Questioning
Global Warming
http://www.globalwarminghoax.com/news.php?...

Posted from:
The DemocRATs Hall of Shame!
http://www.democrathallof...

Buster Norris

12/15/2011 2:13:00 AM

0

Summary: Not only the most prolific liar also the most prolific thief
of other's writings. She is also a Stolen Valor stain on America. Note
that when you reply to a Proven Liar you encourage them to continue
lying.

[][][][][][]


The DemocRAT Hall Of Shame http://www.democrathallof... asks
"Why do you always LIE?"

[Courtesy of Buster Norris]

On Sun, 17 Jul 2011 15:20:51 -0400, Kickin' Ass and Takin' Names
<PopUlist349@hotmail.com> wrote:
>First, here are the lies:
>-- Global warming is a gigantic hoax

141 Scientists Sign Letter Sent to UN Secretary-General Questioning
Global Warming
http://www.globalwarminghoax.com/news.php?...

Posted from:
The DemocRATs Hall of Shame!
http://www.democrathallof...