Sha256: b58cfd4e9630e93431b6f7159d9b2fcd379e8ac02319e74969e183ec0c926c9d

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

require_relative 'logger'

module Annoyme
  class Printer
    def initialize(file)
      @file = file
    end

    def print
      notes = @file.parse

      return if notes.empty?

      puts ""
      Logger.colored("TODO\n", :cyan)
      Logger.print_array_colorful(notes, with_index: true)
      puts ""
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
annoyme-1.0.0 lib/annoyme/printer.rb