Sha256: 50cf870c08790fdd10b7df2959b62d542593bdb2d719489541abd101fcda9f4e
Contents?: true
Size: 581 Bytes
Versions: 13
Compression:
Stored size: 581 Bytes
Contents
module MilkMaid class ConsoleNotifier def batch_completed puts "#{Time.now} - Batch Completed" end def batch_started(_) puts "#{Time.now} - Batch Started" end def log_temperature(temperature) puts "#{Time.now} - Temperature reading: #{temperature}" end def post_warning(current_temperature, base_temperature) puts "#{Time.now} - WARNING: Current Temperature: #{current_temperature} Base Temperature: #{base_temperature}" end def temperature_reached puts "#{Time.now} - Temperature reached!" end end end
Version data entries
13 entries across 13 versions & 1 rubygems