Sha256: 67b3e85355df400fed244d6df0af364013c14b7ea1540cad631959ad144369c6
Contents?: true
Size: 581 Bytes
Versions: 1
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
milk_maid-0.1.0 | lib/milkmaid/console_notifier.rb |