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).



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

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

.week(cal) ⇒ Object

Return a calendar view for the next week.



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

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