From 13172b5cbe8a78a160b7c4641311f26450d745e4 Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Wed, 10 Apr 2013 17:32:19 +0200 Subject: [PATCH] Check/Perfdata: to_a, to_sym, to_h, clone. some new tests. --- lib/nsca/check.rb | 72 +++++++++++++++------------ test/test_nsca.rb | 124 ++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 141 insertions(+), 55 deletions(-) diff --git a/lib/nsca/check.rb b/lib/nsca/check.rb index 3aaeb72..2326d9d 100644 --- a/lib/nsca/check.rb +++ b/lib/nsca/check.rb @@ -6,13 +6,18 @@ module NSCA class <