lib/things/todo.rb in things-client-0.2.0 vs lib/things/todo.rb in things-client-0.2.1

- old
+ new

@@ -61,14 +61,9 @@ # Returns an Appscript Reference to the entire collection of todos def reference Things::App.instance.todos end - # Converts a collection of reference into a collection of objects - def convert(references) - references.to_a.collect { |todo| build(todo) } - end - # these are references and should be stored somewhere else... Things::List::DEFAULTS.each do |list| class_eval <<-"eval" def #{list} convert(Things::List.#{list}.reference.todos.get) \ No newline at end of file