Guest User

Untitled

a guest
Feb 19th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. tempInboxFilename = dir + "temp.gtd"
  2. objects = GTDFile.process_directory(dir)
  3. projects = GTDFile.projects
  4. contexts = GTDFile.get_contexts
  5. inbox_object = objects.find{|o| o.file == tempInboxFilename}
  6. objects << (inbox_object = GTDFile.new(tempInboxFilename)) unless inbox_object
Add Comment
Please, Sign In to add comment