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 remove_each_task(task_name)
        can_find = false
        TuduPaths::TASK_FILES.each_value do |rf|
          tasks = get_tasks_from_file(rf)
          next unless include_task?(tasks, task_name)
          remove_task(tasks, task_name, "./#{TuduPaths::TUDU_DIR}/#{rf}")
          can_find = true
          break
        end
        puts "no such todo '#{task_name}'" unless can_find
      end
def remove_each_task ( task_name ) can_find = false TuduPaths :: TASK_FILES . each_value do | rf | tasks = get_tasks_from_file ( rf ) next unless include_task? ( tasks , task_name ) remove_task ( tasks , task_name , "./#{TuduPaths::TUDU_DIR}/#{rf}" ) can_find = true break end puts "no such todo '#{task_name}'" unless can_find end
add task to todos
 Params
task_names : add task name list
add task to todos Params task_names : add task name list
task_name
<not_specific>