Sha256: 918db3e8cc44d4e44953b7b0a474118c50fd223d9ffc46dae7e426bb79cb2537
Contents?: true
Size: 492 Bytes
Versions: 11
Compression:
Stored size: 492 Bytes
Contents
=begin rdoc Monitor class TODO: Fill this out =end module PoolParty module Monitors def self.register_monitor(*args) args.each do |arg| (available_monitors << "#{arg}".downcase.to_sym) end end def self.available_monitors $available_monitors ||= [] end class BaseMonitor def self.run new.run end end end end Dir["#{File.dirname(__FILE__)}/monitors/*.rb"].each {|f| require f}
Version data entries
11 entries across 11 versions & 2 rubygems