Method: Funl::HistoryWorker#record_history

Defined in:
lib/funl/history-worker.rb

#record_history(msg) ⇒ Object



10
11
12
# File 'lib/funl/history-worker.rb', line 10

def record_history msg
  history[global_tick % history.size] = msg if history
end