Sha256: 6f4e534159c41aabac7a91e515864809b25b0dd986b844d683e1279b73013c6f

Contents?: true

Size: 410 Bytes

Versions: 1

Compression:

Stored size: 410 Bytes

Contents

# frozen_string_literal: true

module TooDoo
  module Commands
    # list done tasks
    # usage: td history
    class History < Simple
      def description
        <<~END
          list done tasks
          usage: td history
        END
      end

      private

      def find_tasks
        store.done
      end

      def empty_list_message
        'you have no done tasks yet'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
toodoo-0.1.1 lib/toodoo/commands/history.rb