Class: Inbox

Inherits:
Context show all
Defined in:
lib/gtd.rb

Direct Known Subclasses

InboxFromFile

Constant Summary

Constants included from Status

Status::ACTIVE_STATES, Status::INACTIVE_STATES, Status::STATUS_ORDER, Status::STATUS_SYMBOLS, Status::SYMBOLS_STATUS

Instance Attribute Summary

Attributes inherited from Context

#actions, #name

Instance Method Summary collapse

Methods inherited from Context

#<<, #delete, #to_s

Methods included from Status

#active, #directory_name, #inactive, #index, #symbol, #with_status

Constructor Details

#initializeInbox

Returns a new instance of Inbox.



211
212
213
# File 'lib/gtd.rb', line 211

def initialize
  super "Inbox"
end

Instance Method Details

#empty!Object



217
218
# File 'lib/gtd.rb', line 217

def empty!   
end

#include?(entry) ⇒ Boolean

Returns:

  • (Boolean)


214
215
216
# File 'lib/gtd.rb', line 214

def include?(entry)
  true
end