Method: Eye::Controller::Status#history_data

Defined in:
lib/eye/controller/status.rb

#history_data(*args) ⇒ Object



31
32
33
34
35
36
37
# File 'lib/eye/controller/status.rb', line 31

def history_data(*args)
  res = {}
  history_objects(*args).each do |process|
    res[process.full_name] = process.schedule_history.reject{|c| c[:state] == :check_crash }
  end
  res
end