lib/tasks.rb
# == add task to todos
# === Params
#- task_names : add task name list
add task to todos
Params
task_names : add task name list
add task to todos Params task_names : add task name list
def doings_to_dones
        tmp_doings = doings
        if tmp_doings.size == 0
          puts 'there is no doing task.before done, you must choose task.'
          return false
        end
        write_doing('')
        write_done(tmp_doings.first.name)
        true
      end
def doings_to_dones tmp_doings = doings if tmp_doings . size == 0 puts 'there is no doing task.before done, you must choose task.' return false end write_doing ( '' ) write_done ( tmp_doings . first . name ) true end
add task to todos
 Params
task_names : add task name list
add task to todos Params task_names : add task name list