lib/todotxt/todo.rb
# Mark this task as not done
Mark this task as not done
Mark this task as not done
def undo
      if done
        @text = text.sub(DONE_REGEX, '').strip
        @done = false
      end
    end
def undo if done @text = text . sub ( DONE_REGEX , '' ) . strip @done = false end end
Mark this task as not done
Mark this task as not done