36 37 38
# File 'lib/workit/model/task.rb', line 36 def self.can_finish? self.all(:state.not => 'finished').count == 1 end