module Dashboard
Public Class Methods
dq()
click to toggle source
# File lib/rubyneat_dashboard/main.rb, line 23 def dq @dq end
dq=(dashboard_queues)
click to toggle source
# File lib/rubyneat_dashboard/main.rb, line 19 def dq=(dashboard_queues) @dq = dashboard_queues end
join!()
click to toggle source
# File lib/rubyneat_dashboard.rb, line 110 def self.join! @@dashboard.join end
opts()
click to toggle source
# File lib/rubyneat_dashboard.rb, line 27 def opts @opts ||= DashOpts.new end
report_on(population, report)
click to toggle source
Main reporting module. Create something that is easily JSONable to represent the ongoing state of affairs to the dashboard.
# File lib/rubyneat_dashboard/reporting.rb, line 15 def report_on(population, report) report end
run_dashboard!()
click to toggle source
# File lib/rubyneat_dashboard.rb, line 106 def self.run_dashboard! @@dashboard = Thread.new { Dashboard::RubyneatDashboard.run! } end