NSCA::Checks: bundle your checks

This commit is contained in:
Denis Knauf 2013-03-16 16:28:19 +01:00
parent 28bc605104
commit 08108167a9

View file

@ -316,4 +316,16 @@ module NSCA
self
end
end
module Checks
class <<self
def perfdata cl, *params
const_set cl, NSCA::PerformanceData.create( *params)
end
def check cl, *params
const_set cl, NSCA::Check.create( *params)
end
end
end
end