Module: Vpim::View

Defined in:
lib/vpim/view.rb

Defined Under Namespace

Modules: Todo, Week

Constant Summary collapse

SECSPERDAY =
24 * 60 * 60

Class Method Summary collapse

Class Method Details

.todos(cal, withdone = false) ⇒ Object

Return a calendar view of only todos (optionally, include todos that are done).



86
87
# File 'lib/vpim/view.rb', line 86

def self.todos(cal, withdone=false)
end

.week(cal) ⇒ Object

Return a calendar view for the next week.



77
78
79
# File 'lib/vpim/view.rb', line 77

def self.week(cal)
  cal.clone.extend Week.dup
end