class Printer
Public Instance Methods
print(work_log_list)
click to toggle source
# File lib/printer.rb, line 4 def print(work_log_list) puts '' if work_log_list.empty? puts 'Work log(s) not found' else work_log_list.each do |work_log| puts "#{work_log.id} | #{work_log}" end end puts '' end