Sha256: 32312bbc0e00fc2315aaffceb06a6a47211ed85b11f19aeaf7cf8455e85ea303

Contents?: true

Size: 214 Bytes

Versions: 1

Compression:

Stored size: 214 Bytes

Contents

require 'date'
require 'markdo/commands/command'

module Markdo
  class TodayCommand < Command
    def run
      task_collection.due_today.each do |task|
        @stdout.puts(task.line)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markdo-0.2.0 lib/markdo/commands/today_command.rb