Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tempInboxFilename = dir + "temp.gtd"
- objects = GTDFile.process_directory(dir)
- projects = GTDFile.projects
- contexts = GTDFile.get_contexts
- inbox_object = objects.find{|o| o.file == tempInboxFilename}
- objects << (inbox_object = GTDFile.new(tempInboxFilename)) unless inbox_object
Add Comment
Please, Sign In to add comment