# Getting Things Done in IRB (A sort of TODO list thing)

**URL:** <https://www.ruby-forum.com/t/getting-things-done-in-irb-a-sort-of-todo-list-thing/64709>\
**Category:** Ruby\
**Created:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/getting-things-done-in-irb-a-sort-of-todo-list-thing/64709 "2006-08-15T14:18:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![naething](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/e47774/32.png) [@naething](https://www.ruby-forum.com/u/naething)\
**Post date:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/getting-things-done-in-irb-a-sort-of-todo-list-thing/64709/1 "2006-08-15T14:18:03Z")

</div>

Hi folks.

Just a little script to share with any folks who’ve read and follow  
the Getting Things Done system. I must warn you, this is a grossly  
simplified (or more positively, open ended) implementation of the  
system.

I generally use my own lazy style of GTD where I keep most actions  
unlabeled until I feel like they need to be. When I do label them, I  
don’t necessarily use the labels the book suggested, but rather just  
assign arbitrary tags to them that are meaningful to me.

So the following bit of code allows me to manage a TODO list from any  
of my irb sessions, and I just use pure ruby to do complex finds and  
stuff when necessary.

It’s definitely not a complete solution, but I figured it might spark  
a few ideas,

Example and code: [Parked at Loopia](http://pastie.caboo.se/8281)

I initialize a pstore db in my .irbrc to allow me global access.

---

<div class="post-metadata">

**Author:** ![naething](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/e47774/32.png) [@naething](https://www.ruby-forum.com/u/naething)\
**Post date:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/getting-things-done-in-irb-a-sort-of-todo-list-thing/64709/2 "2006-08-15T14:18:41Z")

</div>

So your .irbc will include

GTD.init “~/.gtd”

(or whatever the location is) which is executed whenever IRB starts up?

Pretty nifty!

M.T.
